Json.ParserError
Description: Reference for Json.ParserError

### Enumeration

# JsonParserError

#### Declaration

    error-domain Json.ParserError

#### Description [src]

Error codes for `JSON_PARSER_ERROR`.

This enumeration can be extended at later date.

#### Members

`JSON_PARSER_ERROR_PARSE`

  Parse error.

  - Value: `0`
  - Nickname: `parse`
  - Available since: 1.0
`JSON_PARSER_ERROR_TRAILING_COMMA`

  Unexpected trailing comma.

  - Value: `1`
  - Nickname: `trailing-comma`
  - Available since: 1.0
`JSON_PARSER_ERROR_MISSING_COMMA`

  Expected comma.

  - Value: `2`
  - Nickname: `missing-comma`
  - Available since: 1.0
`JSON_PARSER_ERROR_MISSING_COLON`

  Expected colon.

  - Value: `3`
  - Nickname: `missing-colon`
  - Available since: 1.0
`JSON_PARSER_ERROR_INVALID_BAREWORD`

  Invalid bareword.

  - Value: `4`
  - Nickname: `invalid-bareword`
  - Available since: 1.0
`JSON_PARSER_ERROR_EMPTY_MEMBER_NAME`

  Empty member name.

  - Value: `5`
  - Nickname: `empty-member-name`
  - Available since: 0.16
`JSON_PARSER_ERROR_INVALID_DATA`

  Invalid data.

  - Value: `6`
  - Nickname: `invalid-data`
  - Available since: 0.18
`JSON_PARSER_ERROR_UNKNOWN`

  Unknown error.

  - Value: `7`
  - Nickname: `unknown`
  - Available since: 1.0
`JSON_PARSER_ERROR_NESTING`

  Too many levels of nesting.

  - Value: `8`
  - Nickname: `nesting`
  - Available since: 1.10
`JSON_PARSER_ERROR_INVALID_STRUCTURE`

  Invalid structure.

  - Value: `9`
  - Nickname: `invalid-structure`
  - Available since: 1.10
`JSON_PARSER_ERROR_INVALID_ASSIGNMENT`

  Invalid assignment.

  - Value: `10`
  - Nickname: `invalid-assignment`
  - Available since: 1.10

#### Type functions

###### json_parser_error_quark

No description available.