Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
json:overview [2018/05/02 14:46] journeyman created |
json:overview [2018/06/20 22:04] (current) journeyman |
||
---|---|---|---|
Line 1: | Line 1: | ||
=== JSON Overview === | === JSON Overview === | ||
- | If you've never used JSON before, it will be useful to learn some basics before editing SLUDGE data directly. | + | If you've never used JSON before, it will be useful to learn some basics before editing SLIDGE data directly. |
*Data in JSON comes in several forms: | *Data in JSON comes in several forms: | ||
*Numbers: These are just numbers | *Numbers: These are just numbers | ||
Line 9: | Line 9: | ||
*All of this data can be looked up later by name or list number. | *All of this data can be looked up later by name or list number. | ||
+ | JSON is defined in [[https://tools.ietf.org/html/rfc7493|RFC7493]] and there's a nice summary at [[https://www.json.org/|JSON.org]] | ||
=== JSON Example === | === JSON Example === | ||
Here's a sample bit of JSON, with commentary added: | Here's a sample bit of JSON, with commentary added: | ||
<code> | <code> | ||
{ <-Start of an object | { <-Start of an object | ||
- | "name" : "SLUDGE", <-String of text paired with the key called "name" | + | "name" : "SLIDGE", <-String of text paired with the key called "name" |
"number" : 1.0000, <-Number paired with the key called "number" | "number" : 1.0000, <-Number paired with the key called "number" | ||
"list" : [ <-Start of a List | "list" : [ <-Start of a List |