Link Search Menu Expand Document

JsonEx.d overview

The static class that handles JSON with object information.


Table of contents


utils

JsonEx (class)

The static class that handles JSON with object information.

Signature

export declare class JsonEx {
  constructor()
}

stringify (static method)

Converts an object to a JSON string with object information.

Signature

static stringify(object: any): string

parse (static method)

Parses a JSON string and reconstructs the corresponding object.

Signature

static parse(json: string): any

makeDeepCopy (static method)

Makes a deep copy of the specified object.

Signature

static makeDeepCopy(object: any): any

_encode (static method)

Signature

static _encode(value: any, depth: number): any

_decode (static method)

Signature

static _decode(value: any): any