While doing some HTML scrapping, I encounter this type of JS object:
[{
key1: "Hello",
key2: "There",
}, {
key1: "Goodbye",
key2: "See you",
},]
Note that keys aren't wrapped between " "
so it isn't a valid JSON string. Therefore, I can't parse it to JSON/NSArray/NSDictionary
without doing some processing.
Does any library/built-in-function exist that can convert this kind of string to an appropriate Objective-C object ?