About 14,400,000 results
Open links in new tab
  1. javascript - JSON.stringify returns " [object Object]" instead of the ...

    May 11, 2013 · Here I'm creating a JavaScript object and converting it to a JSON string, but JSON.stringify returns " [object Object]" in this case, instead of displaying the contents of the …

  2. 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 …

  3. Can comments be used in JSON? - Stack Overflow

    Yes. The JSON format has a lot of dead-space between elements and is space-insensitive in those regions, so there's no reason why you can't have single or multi-line comments there. …

  4. 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 \ …

  5. 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

  6. Representing null in JSON - Stack Overflow

    What is the preferred method for returning null values in JSON? Is there a different preference for primitives? For example, if my object on the server has an Integer called …

  7. 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

  8. What is JSONC? Are JSONC and JSON-C different? - Stack Overflow

    Feb 13, 2013 · JSON-C seems to just be a variation of JSON mainly targeted at C development. I.e., from the open source docs, "JSON-C implements a reference counting object model that …

  9. 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.

  10. 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 …