I notice that the JSON returned from https://googleads.g.doubleclick.net/pagead/id has the characters )]}'
at the top of the response, rendering the resulting data unparseable by JSON.parse()
, or any other typical JSON parser. Since it consists entirely of random punctuation, I've been unable to coax any of the usual search engines into telling me anything about this strange pattern.
Is that practice documented somewhere? What's its purpose?
Complete example
)]}'
{"id":"ANyPxKoB8RXojXE04wzPs6XPWLf8jfwTIIz7z5yP0Nty0okYZoyQVdoZN1SubUUvrugz00VCshNAGs4KV15j419hQey1el_7Ow"}