1 | export type AnyJson = JsonPrimitives | JsonArray | JsonMap;
|
2 | export type JsonPrimitives = string | number | boolean | null;
|
3 | export interface JsonMap {
|
4 | [key: string]: AnyJson;
|
5 | }
|
6 | export interface JsonArray extends Array<AnyJson> {
|
7 | }
|
8 | export declare const KeyToPreserveUnknownJSON = "AdditionalJSON";
|
9 | export interface IWithAdditionalJSON {
|
10 | [KeyToPreserveUnknownJSON]: JsonMap | undefined;
|
11 | }
|
12 | type TConstructor<T> = new (value?: any) => T;
|
13 | export declare function TaJsonDeserialize<T>(json: any, type: TConstructor<T>): T;
|
14 | export declare function TaJsonSerialize<T>(obj: T): JsonMap;
|
15 | export {};
|