Questions tagged [json]

JSON is a text-based open standard. It is human-readable and used for data interchange between applications. Use this tag for questions related to topics about using JSON.

7 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
0answers
498 views

Platforms Supported by the API and Response Compression

What platforms are supported for use with the Stack Exchange API? In short, anything that can make a GET request to the API servers and supports JSON/JSONP & GZIP. (JavaScript, Python, PHP, Java, ...
4
votes
0answers
105 views

Byte Order Mark suddenly appearing in query results

Query results seem to have started including BOMs sometime today. I had to add code to handle it. I don't see this documented anywhere.
3
votes
0answers
61 views

Items response empty after article POST request

I'm trying to post an article using StackExchange's Teams API then try to pull that new article's id from the API response. The article gets posted but the items field is empty : {"items":[],...
2
votes
0answers
53 views

Ability to support json type for post request

Right now we it uses url encode to post authenticated request. Maybe an option for application json?
2
votes
0answers
306 views

Array boolean values are returning empty

I am trying to convert a JSON array to a PHP array, and the boolean values are being lost. I think I need to loop round using foreach() and cast the items as they are placed in to the new array, but I ...
2
votes
0answers
133 views

String formatting in returned JSON objects

So I sat down this evening to play with the Stack Exchange API. I downloaded RestSharp, and used it to call the API. One thing the struck me was how strings are formatted, with regards to non-ASCII ...
2
votes
0answers
141 views

Stack Cartographer - A PHP tool for generating a JSON map of the Stack Exchange API.

About After the JSON documentation for the Stack Exchange API was dropped for v2.0, I began to wonder if it would be possible to throw together a PHP script that did a bit of screen-scraping to ...