Skip to main content

Class: NullLiteral

jsonpath.expressions.NullLiteral

Base class for JSONPath ValueType literals.

Hierarchy

Constructors

constructor

new NullLiteral(token): NullLiteral

Parameters

NameType
tokenToken

Returns

NullLiteral

Inherited from

FilterExpressionLiteral.constructor

Defined in

src/path/expression.ts:14

Properties

token

Readonly token: Token

Inherited from

FilterExpressionLiteral.token

Defined in

src/path/expression.ts:14

Methods

evaluate

evaluate(): null

Evaluate the filter expression in the given context.

Returns

null

Overrides

FilterExpressionLiteral.evaluate

Defined in

src/path/expression.ts:34


toString

toString(): string

Return a string representation of the expression.

Returns

string

Overrides

FilterExpressionLiteral.toString

Defined in

src/path/expression.ts:38