Options
All
  • Public
  • Public/Protected
  • All
Menu
Logo of bit by bit developers

Class JSONBitByBit

Hierarchy

  • JSONBitByBit

Index

Constructors

constructor

  • Parameters

    • context: Context

    Returns JSONBitByBit

Methods

createEmpty

  • createEmpty(): any
  • Creates an empty JavaScript object

    group

    create

    shortname

    empty

    drawable

    false

    Returns any

    any

parse

  • Parses the input value

    group

    transform

    shortname

    parse

    drawable

    false

    Parameters

    Returns any

    any

paths

  • Find paths to elements in object matching path expression

    group

    jsonpath

    shortname

    paths

    drawable

    false

    Parameters

    • inputs: PathsDto

      a json value and a query

    Returns any

    any

pathsAsStrings

  • Find paths to elements in object matching path expression as strings

    group

    jsonpath

    shortname

    paths as strings

    drawable

    false

    Parameters

    • inputs: PathsDto

      a json value and a query

    Returns any

    any

previewAndSaveJson

  • previewAndSaveJson(inputs: JsonDto): void
  • Previews json and gives option to save it

    group

    preview

    shortname

    json preview and save

    drawable

    false

    Parameters

    Returns void

    any

previewJson

  • previewJson(inputs: JsonDto): void
  • Previews json

    group

    preview

    shortname

    json preview

    drawable

    false

    Parameters

    Returns void

    any

query

  • Queries the input value

    group

    jsonpath

    shortname

    query

    drawable

    false

    Parameters

    • inputs: QueryDto

      a value to be queried

    Returns any

    any

setValue

  • Sets value to the json by providing a path

    group

    jsonpath

    shortname

    set value

    drawable

    false

    Parameters

    • inputs: SetValueDto

      a value to be added, json and a path

    Returns any

    any

setValuesOnPaths

  • Sets multiple values to the json by providing paths

    group

    jsonpath

    shortname

    set value

    drawable

    false

    Parameters

    Returns any

    any

stringify

  • Stringifies the input value

    group

    transform

    shortname

    stringify

    drawable

    false

    Parameters

    Returns string

    string

Generated using TypeDoc