/ fm / liveswitch / Json
Class: Json
fm.liveswitch.Json
"/Date(xxxxxxxxxx-xxxx)"
(Microsoft date serialization format) into actual dates.
Table of contents
Constructors
Properties
Methods
Constructors
constructor
+ new Json(): Json
Returns: Json
Properties
_dateRegex
▪ Private
Static
_dateRegex: RegExp
Defined in: Generated/TypeScript/fm.liveswitch/Json.ts:16
useMicrosoftDateFormat
▪ Static
useMicrosoftDateFormat: boolean= true
Defined in: Generated/TypeScript/fm.liveswitch/Json.ts:15
Methods
getTypeString
▸ getTypeString(): string
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/Json.ts:12
_buildReviver
▸ Private
Static
_buildReviver(reviver
: JsonReviver): JsonReviver
Parameters:
Name | Type |
---|---|
reviver |
JsonReviver |
Returns: JsonReviver
Defined in: Generated/TypeScript/fm.liveswitch/Json.ts:27
_reviver
▸ Private
Static
_reviver(key
: any, value
: any): any
Parameters:
Name | Type |
---|---|
key |
any |
value |
any |
Returns: any
Defined in: Generated/TypeScript/fm.liveswitch/Json.ts:17
deserialize
▸ Static
deserialize(text
: string, reviver?
: (key
: any, value
: any) => any): any
Parameters:
Name | Type |
---|---|
text |
string |
reviver? |
(key : any, value : any) => any |
Returns: any
Defined in: Generated/TypeScript/fm.liveswitch/Json.ts:40
serialize
▸ Static
serialize(value
: any): string
Parameters:
Name | Type |
---|---|
value |
any |
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/Json.ts:49
▸ Static
serialize(value
: any, replacer
: (key
: string, value
: any) => any): string
Parameters:
Name | Type |
---|---|
value |
any |
replacer |
(key : string, value : any) => any |
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/Json.ts:50
▸ Static
serialize(value
: any, replacer
: any[]): string
Parameters:
Name | Type |
---|---|
value |
any |
replacer |
any[] |
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/Json.ts:51
▸ Static
serialize(value
: any, replacer
: (key
: string, value
: any) => any, space
: string | number): string
Parameters:
Name | Type |
---|---|
value |
any |
replacer |
(key : string, value : any) => any |
space |
string | number |
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/Json.ts:52
▸ Static
serialize(value
: any, replacer
: any[], space
: string | number): string
Parameters:
Name | Type |
---|---|
value |
any |
replacer |
any[] |
space |
string | number |
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/Json.ts:53