json icon indicating copy to clipboard operation
json copied to clipboard

Parse non-standard JSON

Open consiliens opened this issue 14 years ago • 2 comments

http://jira.codehaus.org/browse/JACKSON-69 http://wiki.fasterxml.com/JacksonFeaturesNonStandard

Consider adding support for unquoted object keys. Unfortunately such non-standard JSON exists and can't be currently parsed with the JSON gem.

consiliens avatar Mar 08 '10 01:03 consiliens

I think it's a very very bad road when you start to support non-standard stuff, especially if it's non-standard for absolutely no reason. Where ever you see this non-standard JSON, you should tell them, or contribute a fix. Just my 2ct...

tisba avatar May 15 '10 10:05 tisba

In a perfect world all web pages would adhere to standards. Did you read JACKSON-69? It's not reasonable to fix every website which is why robust JSON libraries, such as Jackson, support this use case.

consiliens avatar May 15 '10 20:05 consiliens