jsonaut
    Preparing search index...

    Class ObjectToSequence

    Convert a js value into a sequence of path/value pairs

    Index

    Constructors

    Properties

    Methods

    Constructors

    • Convert a js value into a sequence of path/value pairs

      Parameters

      • Optionaloptions: { isMaxDepthReached?: (arg0: Path) => boolean; maxDepth?: number } = {}
        • OptionalisMaxDepthReached?: (arg0: Path) => boolean

          Max parsing depth

        • OptionalmaxDepth?: number

          Max parsing depth

      Returns ObjectToSequence

    Properties

    _isMaxDepthReached: (arg0: Path) => boolean

    Methods

    • yields path/value pairs from a given object

      Parameters

      • obj: any

        Any JS value

      • currentPath: Path = ...

        Only for internal use

      Returns Iterable<[Path, Value], any, any>