class NativeJsonSerializer implements SerializerInterface
Simple Native JSON Serializer.
Serializes the response using the native jsonencode/jsondecode commands. the params allow you to control the type of result, either a stdClass or an array/hash map.
Methods
string |
serialize(mixed $data, array $params = array())
|
|
GatewayInterface |
deserialize(string $data, array $params = array())
|
Details
at line 39
public string
serialize(mixed $data, array $params = array())
at line 47
public GatewayInterface
deserialize(string $data, array $params = array())