About 11,500,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. 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. …

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

  4. How to read an external local JSON file in JavaScript?

    Learn how to read an external local JSON file in JavaScript using different methods and techniques.

  5. How to parse JSON in Java - Stack Overflow

    This Stack Overflow page explains how to parse JSON in Java.

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

  7. How can I parse (read) and use JSON in Python? - Stack Overflow

    My Python program receives JSON data, and I need to get bits of information out of it. How can I parse the data and use the result? I think I need to use json.loads for this task, but I can't under...

  8. How to upload a file and JSON data in Postman? - Stack Overflow

    Aug 19, 2016 · The way to send mulitpart data which containts a file with the json data is the following, we need to set the content-type of the respective json key fields to 'application/json' …

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

    Dec 30, 2016 · 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 …

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

Refresh