Mercurial > pub > ImplabNet
comparison 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 |
comparison
equal
deleted
inserted
replaced
226:9428ea36838e | 227:8d5de4eb9c2c |
---|---|
108 } | 108 } |
109 | 109 |
110 #endregion | 110 #endregion |
111 | 111 |
112 readonly JSONScanner m_scanner; | 112 readonly JSONScanner m_scanner; |
113 MemberContext m_memberContext; | 113 // json starts from the value context and may content even a single literal |
114 MemberContext m_memberContext = MemberContext.MemberValue; | |
114 | 115 |
115 JSONElementType m_elementType; | 116 JSONElementType m_elementType; |
116 object m_elementValue; | 117 object m_elementValue; |
117 string m_memberName = String.Empty; | 118 string m_memberName = String.Empty; |
118 | 119 |