Is there a way to let Klaxon fail if the json is n...
# klaxon
r
Is there a way to let Klaxon fail if the json is not valid? For instance, klaxon ignores trailing commas or even double commas. something like:
Copy code
println(com.beust.klaxon.Klaxon().parseJsonArray(StringReader("""[{"a": 1,, "b": 2 }]""")))
results in
JsonArray(value=[a,b])
and not an error