Difference between revisions of "JSON File Format Tips"
(13 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | '''JSON is an acronym | + | '''JSON is an acronym for "JavaScript Object Notation"''', a human-readable document format for storing and exchanging data. |
Generally, it is text that is easy for humans to read and write, and easy for machines to parse (read) and generate (write). | Generally, it is text that is easy for humans to read and write, and easy for machines to parse (read) and generate (write). | ||
Line 17: | Line 17: | ||
==Tips== | ==Tips== | ||
− | * | + | *File extension is .json (but not .js) |
*in JSON files, whitespace is allowed between elements punctuation, for example | *in JSON files, whitespace is allowed between elements punctuation, for example | ||
− | * | + | *Comments are generally not a part of JSON files, but some variations do allow comments |
*JSON can be stored directly into some relational databases | *JSON can be stored directly into some relational databases | ||
Line 25: | Line 25: | ||
'''Links to external sites:''' | '''Links to external sites:''' | ||
− | :'''[https://www.json.org/json-en.html Introducing JSON]''' — The JSON Data Interchange Standard | + | :'''[https://www.json.org/json-en.html Introducing JSON]''' — The JSON Data Interchange Standard |
:'''[https://www.w3schools.com/js/js_json_intro.asp JSON - Introduction]''' — on W3Schools | :'''[https://www.w3schools.com/js/js_json_intro.asp JSON - Introduction]''' — on W3Schools | ||
Line 32: | Line 32: | ||
==Hand-Curated Links== | ==Hand-Curated Links== | ||
'''Links to member-recommended external sites:''' | '''Links to member-recommended external sites:''' | ||
− | |||
− | |||
:'''[https://geojson.org/ GeoJSON]''' — simple geographic features | :'''[https://geojson.org/ GeoJSON]''' — simple geographic features | ||
Line 43: | Line 41: | ||
:'''[https://yaml.org/ YAML]''' — "a human-readable data serialization language" | :'''[https://yaml.org/ YAML]''' — "a human-readable data serialization language" | ||
− | == | + | == Additional Help == |
'''Links to related PPM Wiki pages:''' | '''Links to related PPM Wiki pages:''' | ||
Line 49: | Line 47: | ||
===[[Visual Studio Code Tips]]=== | ===[[Visual Studio Code Tips]]=== | ||
+ | ===[[Penpot Tips]]=== | ||
+ | ===[[File Format Tips]]=== | ||
+ | <br> | ||
:Use the PPM Slack channel #computing | :Use the PPM Slack channel #computing | ||
− | + | ||
:Note that we have a Slack channel (#job-board) for members to post, discuss, or accept job opportunities either within PPM or from the community. | :Note that we have a Slack channel (#job-board) for members to post, discuss, or accept job opportunities either within PPM or from the community. | ||
+ | |||
{{Template:Footer}} | {{Template:Footer}} | ||
<p style="padding:0.2em 0.4em; background:#ff6c00; color:#FFFFFF; font-size:15%;"> </p> | <p style="padding:0.2em 0.4em; background:#ff6c00; color:#FFFFFF; font-size:15%;"> </p> | ||
+ | |||
[[Category:Software]] | [[Category:Software]] |
Latest revision as of 14:14, 29 March 2025
JSON is an acronym for "JavaScript Object Notation", a human-readable document format for storing and exchanging data.
Generally, it is text that is easy for humans to read and write, and easy for machines to parse (read) and generate (write).
Douglas Crockford, the developer of JSON and various JavaScript tools, says it is pronounced "Jason", but it is popularly known as "Jay'-sawn"
Variations include GeoJSON for simple geographic features.
Alternative formats include CSV (Comma Separated Values, for data) and YAML (usually for configuration files).
Contact Us if you cannot find your answer here on our Wiki or if you notice any information that is outdated.
Tips
- File extension is .json (but not .js)
- in JSON files, whitespace is allowed between elements punctuation, for example
- Comments are generally not a part of JSON files, but some variations do allow comments
- JSON can be stored directly into some relational databases
External Training
Links to external sites:
- Introducing JSON — The JSON Data Interchange Standard
- JSON - Introduction — on W3Schools
- JSON — on Wikipedia
Hand-Curated Links
Links to member-recommended external sites:
- GeoJSON — simple geographic features
- jq — lightweight and flexible command-line JSON processor
- pandoc — convert between (numerous markup and word processing) file formats
- YAML — "a human-readable data serialization language"
Additional Help
Links to related PPM Wiki pages:
Mall Map
Visual Studio Code Tips
Penpot Tips
File Format Tips
- Use the PPM Slack channel #computing
- Note that we have a Slack channel (#job-board) for members to post, discuss, or accept job opportunities either within PPM or from the community.
Search the PPM Wiki — include Content pages as well as Multimedia.
Contact Us if you cannot find your answer here on our Wiki or if you notice any information that is outdated.