$ man json
Engineering · Data Formats
JSON
JavaScript Object Notation. A text format for storing structured data.
by Shawn Tenam
なぜ重要か
APIs return JSON. Config files use JSON. Your daily tracker logs are JSON. It's readable by humans, parseable by machines. Key-value pairs, nested objects, arrays.
どう使うか
{ "name": "value", "count": 5, "tags": ["tag1", "tag2"] }. JSON files end in .json. Parse them with JSON.parse() in JavaScript or json.load() in Python.
関連用語