Bitbybit Docs
    Preparing search index...

    Class SetValueDto (Inputs.JSON)

    Feeds json.setValue: the JSON to copy and change, the JSONPath to the objects to change, the property to set on each and the value it gets.

    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • Optionaljson: unknown
      • Optionalvalue: unknown
      • Optionalpath: string
      • Optionalprop: string

      Returns SetValueDto

    Properties

    json: unknown

    The object to change; it stays as it is and a changed copy comes back. A value that is not an object throws an error

    undefined
    
    value: unknown

    What the property is set to on every matched object; any JSON-compatible value

    undefined
    
    path: string

    A JSONPath expression selecting the parent objects, such as $.parts[*]; the property is set on each of them

    $.pathToParent
    
    prop: string

    Name of the property set on every object the path reaches

    propertyName