/ fm / liveswitch / NullJsonProvider
Class: NullJsonProvider
fm.liveswitch.NullJsonProvider
An implementation of a JSON provider that does nothing.
Hierarchy
-
↳ NullJsonProvider
Table of contents
Constructors
Methods
Constructors
constructor
+ new NullJsonProvider(): NullJsonProvider
Returns: NullJsonProvider
Inherited from: JsonProvider
Defined in: Generated/TypeScript/fm.liveswitch/NullJsonProvider.ts:12
Methods
deserialize
▸ deserialize<T>(valueJson
: string): T
Deserializes a value from a JSON string.
Type parameters:
Name |
---|
T |
Parameters:
Name | Type | Description |
---|---|---|
valueJson |
string | The JSON string to deserialize. |
Returns: T
The deserialized value.
Overrides: JsonProvider
Defined in: Generated/TypeScript/fm.liveswitch/NullJsonProvider.ts:33
getTypeString
▸ getTypeString(): string
Returns: string
Overrides: JsonProvider
Defined in: Generated/TypeScript/fm.liveswitch/NullJsonProvider.ts:10
serialize
▸ serialize<T>(value
: T): string
Serializes a value to a JSON string.
Type parameters:
Name |
---|
T |
Parameters:
Name | Type | Description |
---|---|---|
value |
T | The value to serialize. |
Returns: string
The serialized JSON string.
Overrides: JsonProvider
Defined in: Generated/TypeScript/fm.liveswitch/NullJsonProvider.ts:49