About 914,000 results
Open links in new tab
  1. Can comments be used in JSON? - Stack Overflow

    When JSON is used for human-intended configuration files, they should be annotated for humans to understand better. Annotated, such file is no longer valid JSON, but there are solutions. For …

  2. javascript - How to add comments in a .json file - Stack Overflow

    How to add comments in a .json file [duplicate] Asked 11 years, 2 months ago Modified 5 years, 3 months ago Viewed 37k times

  3. Adding comments to a JSON file - Stack Overflow

    Jun 22, 2022 · If the JSON file won't be modified by apps, you can simply make up a property the app doesn't use and store the comment in it. This takes up a little space at runtime but it …

  4. In VS Code, disable error "Comments are not permitted in JSON"

    Sep 24, 2020 · Where I found this useful though is vendor supplied files - like rush.json which the vendor supplies with comments. In that case use a file association like: "files.associations": { …

  5. How do I add comments to package.json for npm install?

    One of the core npm developers has refused to consider comments support in package.json. Please comment on that issue - maybe we can show how useful comments can be.

  6. How do I add comments to Json.NET output? - Stack Overflow

    5 The problem is that JSON as a file format doesn't support comments. One thing you could do - if the application reading the JSON file allows it - is to use additional properties as comments as …

  7. How to parse json file with c-style comments? - Stack Overflow

    Apr 30, 2015 · JSON5 is JSON with JavaScript features/support. It's the most popular JSON language extension in the world. It has comments, support for trailing commas in …

  8. How can I add comments when serializing to JSON?

    Dec 16, 2024 · Nevertheless you can enable support by setting JsonCommentHandling as shown in How can I parse JSON with comments using System.Text.Json?. I tested my solution in …

  9. How to place comments in Postman? - Stack Overflow

    How to place comments inside Postman? Specifically in the JSON request body section? I want to comment-out a particular key or value from the request body so that it is not sent. …

  10. bash - JQ issues with comments on Json file - Stack Overflow

    Oct 27, 2015 · JSON and thus jq do not support comments (in the usual sense) in JSON input. The jq FAQ lists a number of tools that can be used to remove comments, including jsonlint, …