I found a JSON file beginning with closing bracket is used in one of google's services. The following is an example, you see it has closing brackets and a single quote before the main data part. I inspected javascript code where this JSON data is fetched. And what they were doing was to remove the first sequential brackets manually before parsing the data.
)]}'
["value1", "value2"]
Here're my questions.
Is this JSON format valid?
Anybody have idea why they're doing this?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With