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. Many parsers …

355 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 course, the correct MIME media type for JSON is application/json, but it's necessary to realize what type of data is expected in your application. For example, I use Java Ext GWT and the server …

Recommended for you
You may also like