RESTfulAPI_BasicDeSerializer::deserialize
Convert client JSON data to an array of data ready to be consumed by SilverStripe
Expects payload to be formatted: { "FieldName": "Field value", "Relations": [1] }
Signature
public function deserialize(
$json )
Parameters
$json
—
Returns
- array|false
- Formatted array representation of the JSON data or false if failed