Bitbybit Docs
    Preparing search index...

    Class SetValuesOnPathsDto (Inputs.JSON)

    Alimente json.setValuesOnPaths : le JSON à copier et à modifier et trois listes de même longueur, où l'entrée i de paths, props et values est une modification.

    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • Optionaljson: unknown
      • Optionalvalues: unknown[]
      • Optionalpaths: string[]
      • Optionalprops: string[]

      Returns SetValuesOnPathsDto

    Properties

    json: unknown

    L'objet à modifier ; il reste tel quel et une copie modifiée revient

    undefined
    
    values: unknown[]

    Les valeurs à définir, une par modification, dans le même ordre que paths et props

    undefined
    
    paths: string[]

    Une expression JSONPath par modification, chacune sélectionnant les objets parents, comme $.parts[*]

    undefined
    
    props: string[]

    Un nom de propriété par modification, défini sur chaque objet que son chemin atteint

    undefined