About 42,200,000 results
Open links in new tab
  1. What is JSON and what is it used for? - Stack Overflow

    Apr 16, 2023 · 679 JSON (JavaScript Object Notation) is a lightweight format that is used for data interchanging. It is based on a subset of JavaScript language (the way objects are built in …

  2. Which JSON content type do I use? - Stack Overflow

    JSON (JavaScript Object Notation) and JSONP ("JSON with padding") formats seems to be very similar and therefore it might be very confusing which MIME type they should be using.

  3. Is there any standard for JSON API response format?

    Do standards or best practices exist for structuring JSON responses from an API? Obviously, every application's data is different, so that much I'm not concerned with, but rather the "response

  4. python - Accessing JSON elements - Stack Overflow

    The main issue seems to be that the original solution treats the JSON purely as a dictionary, when in fact it is a... dictionary within a list, within a dictionary, within a dictionary

  5. How to escape special characters in building a JSON string?

    Nov 29, 2016 · A JSON string must be double-quoted, according to the specs, so you don't need to escape '. If you have to use special character in your JSON string, you can escape it using \ …

  6. How do I make a JSON object with multiple arrays?

    The JSON data is an object (basically an associative array). Indexed arrays use square brackets, [0,1,2], while associative arrays use curly braces, {x:1,y:2,z:3}. Any of the data within the …

  7. How to make a class JSON serializable - Stack Overflow

    Sep 22, 2010 · It's unfortunate that the answers all seem to answer the question "How do I serialize a class?" rather than the action question "How do I make a class serializable?" These …

  8. python - How do I write JSON data to a file? - Stack Overflow

    json dump will write the json as string in the file. How can I get a json file that is not in the form of string, but just dictionary-like? Is it possible?

  9. What is BSON and exactly how is it different from JSON?

    Sep 15, 2012 · BSON is the binary encoding of JSON-like documents that MongoDB uses when storing documents in collections. It adds support for data types like Date and binary that aren't …

  10. How to parse JSON in Java - Stack Overflow

    java's built in JSON libraries are the quickets way to do so, but in my experience GSON is the best library for parsing a JSON into a POJO painlessly.