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

Module JsonStringifiers

Provides classes for working with JSON serializers.

Import path

import semmle.javascript.JsonStringifiers

Imports

javascript

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

Classes

Json2CsvTaintStep

A taint step through the json2csv library.

JsonStringifyCall

A call to a JSON stringifier such as JSON.stringify or require("util").inspect.

PrettyJsonTaintStep

A step through the prettyjson library. This is not quite a JSON.stringify call, as it e.g. does not wrap keys in double quotes. It’s therefore modeled as a taint-step rather than as a JSON.stringify call.