Structural Characters and Literals
Structural characters define the structure of data within an Internet Object document. Below are the structural characters used in the Internet Object format:
Symbol | Character(s) | Unicode | Description | Notes |
---|---|---|---|---|
| Comma |
| Separator between values | Used to separate items in arrays and objects |
| Tilde |
| Record delimiter in collections | Indicates the start of a new record in collection |
| Colon |
| Key-value separator | Separates keys from their corresponding values |
| Open Square Bracket |
| Start of an array | Begins an array structure |
| Close Square Bracket |
| End of an array | Ends an array structure |
| Open Curly Bracket |
| Start of an object | Begins an object or dictionary |
| Close Curly Bracket |
| End of an object | Ends an object or dictionary |
| Triple Hyphens |
| Header and data separator | Separates different sections of the document |
| Hash |
| Comment start | Initiates a single-line comment |
| Double Quote |
| String delimiter | Encloses string values |
| Single Quote |
| String delimiter | Alternative to double quotes for strings |
| At Symbol |
| Variable | Represents the start of vaiable |
| Dollar Sign |
| Schema | Represents the start of a schema identifier |
Last updated