Skip to main content

JSON with comments (JSONC)

Scopes

Supported facets

These facets are supported

Collection key

  • Map pair: Key (LHS) of a key-value pair of a map
  • Map pair (iteration): Iteration scope of key-value pairs in a map; should be between the braces

Comment

  • Block: A block comment
  • Line: A line comment

List

  • List: A list/array

Map

  • Map: A map/dictionary

String

  • Single line: A single-line string

Text fragment

  • Comment block: Text fragment consisting of a block comment
  • Comment line: Text fragment consisting of a line comment
  • String single line: Text fragment consisting of a single-line string

Value

  • Map pair: Value (RHS) of a key-value pair in a map
  • Map pair (iteration): Iteration scope of key-value pairs in a map; should be between the braces

Unspecified facets

These facets are unspecified