Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 2

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.

3 votes
Accepted

Any guarantees on JSON string encoding?

Yes, UTF-8 is the guaranteed encoding, at least for versions 1.0 and 1.1. The others aren't nearly as popular, and waste a lot of space besides.
Kevin Montrose's user avatar
10 votes
Accepted

Am I accessing the API correctly?

Try using JSONP instead of raw JSON; we just added support for the jsonp parameter. …
Kevin Montrose's user avatar
2 votes

Possible Gzip or data format problems when trying to read JSON.

gzuncompress is for ZLIB not GZIP. The two algorithms are related, but not identical. gzuncompress isn't strictly guaranteed to decompress all ZLIB streams actually, its just guaranteed to decode th …
Kevin Montrose's user avatar
1 vote

OR operator for StackOverflow API

/search has atagged parameter with OR semantics. The # of returns is capped, and the results are very heavily cached. Things get tricky when somebody asks for everything tagged c# or java, and then …
Kevin Montrose's user avatar
4 votes
Accepted

Stacky JSON error

Shot in the dark, but I bet "0.9" should be "1.0" in your code. The API version is currently 1.0, 0.9 was a beta version which has long since been deprecated.
Kevin Montrose's user avatar