Options
All
  • Public
  • Public/Protected
  • All
Menu

Class JsonHandler

name

JsonHandler

Hierarchy

  • JsonHandler

Index

Methods

Methods

parse

  • parse(jsonString: string): any
  • Parses a JSON string into a platform specific representation.

    Parameters

    • jsonString: string

      the string to parse

    Returns any

    a platform specific representation of the JSON object

patch

  • patch(existingObject: any, jsonPatchString: string): any
  • Patches a platform specific JSON representation with an RFC 6902 JSON patch string.

    Parameters

    • existingObject: any

      the platform specific JSON representation

    • jsonPatchString: string

      the json patch string in RFC 6902 format

    Returns any

    a platform specific representation of the patched JSON object

Generated using TypeDoc