Skip to main content

JSON

Scopes

Below are visualizations of all our scope tests for this language. These were created primarily for testing purposes rather than as documentation. There are quite a few, and they may feel a bit overwhelming from a documentation standpoint.

Collection key

1. Key: Map pair

Key (LHS) of a key-value pair of a map

2. Key: Map pair (iteration)

Iteration scope for keys of key-value pairs in a map: should be between the braces.

Comment

1. Comment: Block

A block comment

2. Comment: Line

A line comment

List

1. List

A list/array

Map

1. Map

A map/dictionary

String

1. String: Single line

A single-line string

Value

1. Value: Map pair

Value (RHS) of a key-value pair in a map

2. Value: Map pair (iteration)

Iteration scope for values of key-value pairs in a map: should be between the braces.

Internal scopes

The following are internal scopes. They are not intended for user interaction or spoken use. These scopes exist solely for internal Cursorless functionality.

Text fragment

1. Text fragment: Comment block

Text fragment consisting of a block comment

2. Text fragment: Comment line

Text fragment consisting of a line comment

3. Text fragment: String single line

Text fragment consisting of a single-line string