class NodeTypeFieldJsonSerializer extends AbstractJsonSerializer (View source)

Serialization class for NodeTypeField.

Methods

mixed
serialize(mixed $obj)

Serializes data.

array
toArray(NodeTypeField $nodeTypeField)

Create a simple associative array with NodeTypeField entity.

mixed
deserialize(string $jsonString)

Deserializes a json file into a readable array of datas.

Details

mixed serialize(mixed $obj)

Serializes data.

Parameters

mixed $obj

Return Value

mixed

array toArray(NodeTypeField $nodeTypeField)

Create a simple associative array with NodeTypeField entity.

Parameters

NodeTypeField $nodeTypeField

Return Value

array

mixed deserialize(string $jsonString)

Deserializes a json file into a readable array of datas.

Parameters

string $jsonString

Return Value

mixed