JSON File Format Tips

From Pikes Peak Makerspace Wiki
Revision as of 00:03, 3 December 2024 by Warren (talk | contribs) (Created page with "::'''JSON File Format Tips''' — '''JavaScript Object Notation''' :::a human-readable document format for storing and exchanging data '''JSON is an acronym that stands f...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
JSON File Format TipsJavaScript Object Notation
a human-readable document format for storing and exchanging data

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

Related Pages

Links to related PPM Wiki pages:

Mall Map
Visual Studio Code Tips

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"

For Additional Help

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.

Pikes Peak Makerspace (PPM) is dedicated to supporting our maker community in their creative processes by providing shared space, shared tools, materials, software, and a knowledge base to turn their ideas into reality.