Closed theon closed 9 years ago
The following invalid JSON gets successfully parsed by ignoring the invalid trailing content. Is this expected? I feel like this should fail, or at least fail when a strict mode is enabled.
scala> import spray.json._ import spray.json._ scala> """ ["a"],["b"] """.parseJson res0: spray.json.JsValue = ["a"]
Yes, thanks for reporting!
One question: it seems that this might be a duplicate of #137, which was already fixed in 1.3.2. Could you verify?
Ah yes. Sorry missed that one!
The following invalid JSON gets successfully parsed by ignoring the invalid trailing content. Is this expected? I feel like this should fail, or at least fail when a strict mode is enabled.