Module JSON

Provides classes for working with JSON data.

Import path

semmle.javascript.JSON

Imports

javascript

Provides classes for working with JavaScript programs, as well as JSON, YAML and HTML.

Classes

JSONArray

A JSON-encoded array.

JSONBoolean

A JSON-encoded Boolean value.

JSONNull

A JSON-encoded null value.

JSONNumber

A JSON-encoded number.

JSONObject

A JSON-encoded object.

JSONParseError

An error reported by the JSON parser.

JSONPrimitiveValue

A JSON-encoded primitive value.

JSONString

A JSON-encoded string value.

JSONValue

A JSON-encoded value, which may be a primitive value, an array or an object.