Represents an object for extracting JSON tokens.

interface JsonExtractorObject {
    SelectToken: ((path: string) => any);
    SelectTokens: ((path: string) => any[]);
}

Properties

SelectToken: ((path: string) => any)

Selects a JSON token based on the specified path.

Type declaration

    • (path): any
    • Parameters

      • path: string

        The path to select the token.

      Returns any

      The selected JSON token.

SelectTokens: ((path: string) => any[])

Selects multiple JSON tokens based on the specified path.

Type declaration

    • (path): any[]
    • Parameters

      • path: string

        The path to select the tokens.

      Returns any[]

      An array of selected JSON tokens.