JSON, an acronym for
Java
Script
Object
Notation, is a format for representing objects in text format using property/value pairs. The format is widely used by web-based applications, and details about the JSON format can be readily found
online. A general overview and an example will demonstrate basic features:
- Objects are surrounded by curly brackets { }.
- Property names appear in "quoted strings".
- Subsequent property/value pairs are separated by a comma.
- Numeric values can be specified directly.
- String values are specified using a properly constructed string with certain characters escaped. The encode function can create such strings by using the JsonString option.
- Arrays are surrounded by square brackets [ ].
{
"csproVersion": 8.0,
"csproUsersForumUrl": "https://www.csprousers.org/forum",
"applicationTypes": [
"Data Entry",
"Batch Edit",
"Tabulation"
]
}
JSON is used throughout CSPro in a variety of ways, including: