firatisler / google-api-dotnet-client

Automatically exported from code.google.com/p/google-api-dotnet-client
0 stars 0 forks source link

JsonReader parses empty objects incorrectly #108

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The following JSON document is parsed incorrectly:

{
  "testField": 1,
  "emptyClass": { },
  "anotherField": 2,
  "andAgain": 3
}

The fields "anotherField" and "andAgain" end up as Key/Valuepairs in the 
"emptyClass" JsonDictionary. They should be top level instead.

Original issue reported on code.google.com by mlin...@google.com on 3 Aug 2011 at 4:15

GoogleCodeExporter commented 9 years ago

Original comment by mlin...@google.com on 10 Aug 2011 at 9:28