Difference between revisions of "JSON File Format Tips"

From Pikes Peak Makerspace Wiki
Jump to navigation Jump to search
 
Line 43: Line 43:
 
:'''[https://yaml.org/ YAML]''' — "a human-readable data serialization language"
 
:'''[https://yaml.org/ YAML]''' — "a human-readable data serialization language"
  
==For Additional Help==
+
==Additional Help==
 
'''Links to related PPM Wiki pages:'''
 
'''Links to related PPM Wiki pages:'''
  

Latest revision as of 15:21, 8 December 2024

JSON is an acronym that stands 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.

 


burst of white rays on orange background

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:

Douglas Crockford — on Wikipedia
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

Use the PPM Slack channel #computing
List of all PPM Slack channels
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.