I am trying to parse a string which in JSON format only that keys are not enclosed in quotes. I can very well parse this string in Javascript, but can not find a Java API which will help me parse this. All the APIs I tried assumes strict JSON format.
Can anyone suggest a library which has an option to parse this, or a whole new approach to the problem (say like use regex instead) ?
If the keys aren’t enclosed in quotes then it’s not JSON.
You should either hack this yourself or find someone who did it already.
Also, there’s no such thing as non-strict json. There’s only 1 version of JSON and it’s strict.