JSON Format


#1

I’m able to output my search in JSON format, but I need to use a converter to reformat to XML in order for the analysis software I’m using to import it. The converter always finds loads of syntax errors for the JSON output. When I look at an example of JSON on the web, its quite different from the results I get from the Twitter API. Can anyone explain this?


#2

Unfortunately, the docs are not all up-to-date.


#3

DUH!


#4

What are you specifically looking to know about the JSON format of our API? Looking at our JSON in a browser isn’t recommended, as the act of consuming the JSON can change it due the size of our ID integers.

Are you possibly indicating in your requests that you can consume gzip content, then getting the content gzip’d in response, and then not un-gzipping it before trying to consume it as JSON?