I am retrieving data from a JSON file that has JavaScript variables included.(I did not make this file and there is no way for me to modify it)
var name = [ { "01":"fred", "02":"mary", "03":"jake" } ]
var day = [ {"01" : "true", "02" : "false", "03" : "true", "04" : "false", "05" : "true", "06" : "true"}]
I have figured out how to read this with a JSONReader but am not able to unless I use the skip method on the input stream, which I can't use because they values can change.
I want to just get the following to parse
[ { "01":"fred", "02":"mary", "03":"jake" } ]
[ {"01" : "true", "02" : "false", "03" : "true", "04" : "false", "05" : "true", "06" : "true"}]