Re: Update JSON Invalid

2011-06-20 Thread Yonik Seeley
On Mon, Jun 20, 2011 at 11:25 PM, Shawn Heisey wrote: > On 6/20/2011 8:08 PM, entdeveloper wrote: >> >> Technically, yes, it's valid json, but most libraries treat the json >> objects >> as maps, and with multiple "add" elements as the keys, you cannot properly >> deserialize. >> >> As an example,

Re: Update JSON Invalid

2011-06-20 Thread Shawn Heisey
On 6/20/2011 8:08 PM, entdeveloper wrote: Technically, yes, it's valid json, but most libraries treat the json objects as maps, and with multiple "add" elements as the keys, you cannot properly deserialize. As an example, try putting this into jsonlint.com, and notice it trims off one of the doc

Update JSON Invalid

2011-06-20 Thread entdeveloper
ot;id" : "TestDoc2", "title" : "another test"} } } Is there something I'm just not seeing? Should we consider cleaning up this format, possibly using some json arrays so that it makes more sense from a json perspective? -- View this message in context: http://lucene.472066.n3.nabble.com/Update-JSON-Invalid-tp3088963p3088963.html Sent from the Solr - User mailing list archive at Nabble.com.