Beta version

class NodeTypeJsonSerializer extends AbstractJsonSerializer

Json Serialization handler for NodeType.

Methods

string
serialize(mixed $obj)

Serializes data.

__construct()

No description

array
toArray(NodeType $nodeType)

Create a simple associative array with a NodeType.

deserialize(string $string)

Deserializes a Json into readable datas.

Details

string serialize(mixed $obj)

Serializes data.

Parameters

mixed $obj

Return Value

string

at line 45
__construct()

at line 56
array toArray(NodeType $nodeType)

Create a simple associative array with a NodeType.

Parameters

NodeType $nodeType

Return Value

array

at line 87
NodeType deserialize(string $string)

Deserializes a Json into readable datas.

Parameters

string $string Input to deserialize

Return Value

NodeType