CodeQL library for JavaScript/TypeScript
codeql/javascript-all 0.8.12 (changelog, source)
Search

Module JSON

Provides classes for working with JSON data.

Import path

import 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.