About 42,600,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. How to escape special characters in building a JSON string?

    Nov 29, 2016 · The pretty picture also lists all of the legitimate escape sequences within a JSON string: \" \\ \/ \b \f \n \r \t \u followed by four-hex-digits Note that, contrary to the nonsense in …

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

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

  5. How to extract and access data from JSON with PHP?

    This is intended to be a general reference question and answer covering many of the never-ending "How do I access data in my JSON?" questions. It is here to handle the broad basics of …

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

  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. How can I deserialize JSON with C#? - Stack Overflow

    There's Json in System.Web.Helpers, there's JsonQueryStringConverter in System.ServiceModel.Web, there's JavascriptSerializer in System.Web.Script.Serialization, …

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

  10. Can/should boolean values be passed in json with quotes?

    Aug 20, 2018 · Short answer, yes, your second example is the proper way to send the JSON. You should not be placing anything other than a string inside of quotes. Long answer, It depends …