Mercurial > pub > ImplabNet
diff Implab/Formats/JSON/JSONParser.cs @ 227:8d5de4eb9c2c v2
Reimplemented JsonXmlReader, added support for null values: JSON null values are
mapped to empty nodes with 'xsi:nil' attribute set to 'true'
author | cin |
---|---|
date | Sat, 09 Sep 2017 03:53:13 +0300 |
parents | 7d07503621fe |
children |
line wrap: on
line diff
--- a/Implab/Formats/JSON/JSONParser.cs Fri Aug 25 02:16:35 2017 +0300 +++ b/Implab/Formats/JSON/JSONParser.cs Sat Sep 09 03:53:13 2017 +0300 @@ -110,7 +110,8 @@ #endregion readonly JSONScanner m_scanner; - MemberContext m_memberContext; + // json starts from the value context and may content even a single literal + MemberContext m_memberContext = MemberContext.MemberValue; JSONElementType m_elementType; object m_elementValue;