protected function decodeData($data): array
    {
        if (!\is_array($data)) {
            return [];
        }

        // Decode JSON encoded fields and merge them to data.
        if (isset($data['_json'])) {
            $data = array_replace_recursive($data, $this->jsonDecode($data['_json']));
            unset($data['_json']);
        }

        return $data;
    }
protected function decodeData($data): array
    {
        if (!\is_array($data)) {
            return [];
        }

        // Decode JSON encoded fields and merge them to data.
        if (isset($data['_json'])) {
            $data = array_replace_recursive($data, $this->jsonDecode($data['_json']));
            unset($data['_json']);
        }

        return $data;
    }
protected function decodeData ( $ data ) : array { if ( ! \ is_array ( $ data ) ) { return [ ] ; } // Decode JSON encoded fields and merge them to data. if ( isset ( $ data [ '_json' ] ) ) { $ data = array_replace_recursive ( $ data , $ this -> jsonDecode ( $ data [ '_json' ] ) ) ; unset ( $ data [ '_json' ] ) ; } return $ data ; }
Decode POST data

@param array $data
@return array
Decode POST data