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., 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. See this list of special character used in JSON : \b Backspace (ascii code 08) \f Form feed (ascii code 0C) \n New line \r Carriage return \t Tab \" Double quote \\ Backslash character However, even if it is , 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 outermost object can be either type of array, but the outermost object itself has to use curly braces., How to use if statement inside JSON? Asked 12 years, 5 months ago Modified 3 years, 5 months ago Viewed 178k times, I did it many times, and each time I forgot where it was. Menu File → Preferences → Settings. I get this: I want to open file settings.json (editable JSON file) instead. How can I do that?, 1 From JsonProperty javadoc, Defines name of the logical property, i.e. JSON object field name to use for the property. If value is empty String (which is the default), will try to use name of the field that is annotated..