About 12,200,000 results
Open links in new tab
  1. How to escape special characters in building a JSON string?

    354 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 \ character. …

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

  3. Convert JSON String To C# Object - Stack Overflow

    Trying to convert a JSON string into an object in C#. Using a really simple test case: JavaScriptSerializer json_serializer = new JavaScriptSerializer(); object routes_list = …

  4. What is JSON and what is it used for? - Stack Overflow

    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 JavaScript). As …

  5. python - How to prettyprint a JSON file? - Stack Overflow

    jq . some.json and you get colors as a bonus (and way easier extendability). Addendum: There is some confusion in the comments about using jq to process large JSON files on the one hand, …

  6. How to dynamically build a JSON object? - Stack Overflow

    I am new to Python and I am playing with JSON data. I would like to dynamically build a JSON object by adding some key-value to an existing JSON object. I tried the following but I get …

  7. How to get JSON from webpage into Python script

    Unfortunately, that doesn't work in Python 3. json.load is just a wrapper around json.loads that calls read () for a file-like object. json.loads requires a string object and the output of …

  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. How to parse JSON string in Typescript - Stack Overflow

    Is there a way to parse strings as JSON in TypeScript? For example in JavaScript, we can use JSON.parse(). Is there a similar function in TypeScript? I have a JSON object string as follows: …

  10. How to map a map JSON column to Java Object with JPA

    29 The JPA AttributeConverter is way too limited to map JSON object types, especially if you want to save them as JSON binary. You don’t have to create a custom Hibernate Type to get JSON …