Beta version

class NodeJsonSerializer extends AbstractJsonSerializer

Json Serialization handler for Node.

Methods

string
serialize(mixed $obj)

Serializes data.

__construct(EntityManager $em)

No description

array
toArray(Node[] $nodes)

Create a simple associative array with an entity.

deserialize(string $string)

Deserializes a json file into a readable array of datas.

Details

string serialize(mixed $obj)

Serializes data.

Parameters

mixed $obj

Return Value

string

at line 51
__construct(EntityManager $em)

Parameters

EntityManager $em

at line 63
array toArray(Node[] $nodes)

Create a simple associative array with an entity.

Parameters

Node[] $nodes

Return Value

array

at line 226
Node deserialize(string $string)

Deserializes a json file into a readable array of datas.

Parameters

string $string Input to deserialize

Return Value

Node