Preparing search index...
The search index is not available
API
API
IJSONSerializable
Interface IJSONSerializable<T, TM>
Interface for objects that can be serialized to JSON, with to and from JSON methods
interface
IJSONSerializable
<
T
,
TM
>
{
fromJSON
(
data
,
meta
?
)
:
IJSONSerializable
<
T
,
TM
>
|
Promise
<
IJSONSerializable
<
T
,
TM
>
>
;
toJSON
(
meta
?
)
:
T
;
}
Type Parameters
T
=
any
TM
=
any
Index
Methods
fromJSON
toJSON
Methods
fromJSON
fromJSON
(
data
,
meta
?
)
:
IJSONSerializable
<
T
,
TM
>
|
Promise
<
IJSONSerializable
<
T
,
TM
>
>
Parameters
data
:
T
Optional
meta
:
TM
Returns
IJSONSerializable
<
T
,
TM
>
|
Promise
<
IJSONSerializable
<
T
,
TM
>
>
toJSON
toJSON
(
meta
?
)
:
T
Parameters
Optional
meta
:
TM
Returns
T
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
fromJSON
toJSON
API
AlgorithmPluginType
CANNON
Tiles3dPluginType
default
reactivity
render2d
BehaviorStatus
BlendFunction
EdgeDetectionMode
EffectAttribute
EmitterMode
GlitchMode
KernelSize
MapOpenWay
NodeType
NodeValueType
OrderIndex
ParallelBehaviorPolicy
PredicationMode
RayQueryType
RenderMode
Loading...
Interface for objects that can be serialized to JSON, with to and from JSON methods