Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "angular/json-utils"

Index

Functions

appendPropertyInAstObject

  • appendPropertyInAstObject(recorder: UpdateRecorder, node: JsonAstObject, propertyName: string, value: JsonValue, indent: number): void
  • Parameters

    • recorder: UpdateRecorder
    • node: JsonAstObject
    • propertyName: string
    • value: JsonValue
    • indent: number

    Returns void

appendValueInAstArray

  • appendValueInAstArray(recorder: UpdateRecorder, node: JsonAstArray, value: JsonValue, indent?: number): void
  • Parameters

    • recorder: UpdateRecorder
    • node: JsonAstArray
    • value: JsonValue
    • Default value indent: number = 4

    Returns void

findPropertyInAstObject

  • findPropertyInAstObject(node: JsonAstObject, propertyName: string): JsonAstNode | null

insertPropertyInAstObjectInOrder

  • insertPropertyInAstObjectInOrder(recorder: UpdateRecorder, node: JsonAstObject, propertyName: string, value: JsonValue, indent: number): void
  • Parameters

    • recorder: UpdateRecorder
    • node: JsonAstObject
    • propertyName: string
    • value: JsonValue
    • indent: number

    Returns void

removePropertyInAstObject

  • removePropertyInAstObject(recorder: UpdateRecorder, node: JsonAstObject, propertyName: string): void
  • Parameters

    • recorder: UpdateRecorder
    • node: JsonAstObject
    • propertyName: string

    Returns void