A JSON-like object, with miscellaneous values.

Indexable

  • [key: string]:
        | string
        | number
        | boolean
        | object
        | undefined

    All potentially present fields.

Constructors

Properties

confidence?: number

Confidence with which the value was assessed.

pageId?: number

The document page on which the information was found.

rawValue?: string

Raw unprocessed value, as it was sent by the server.

Methods

  • Parameters

    • fieldName: string

    Returns
        | undefined
        | string
        | number
        | boolean
        | object

  • ReSTructured-compliant string representation. Takes into account level of indentation & displays elements as list elements.

    Parameters

    • level: number = 0

      Level of indentation. 0 by default.

    Returns string