You are here

private static property ServicesClientConnectionRestServerParser::$parsers in Services Client 7

Same name and namespace in other branches
  1. 7.2 services_client_connection/plugins/ServicesClientConnectionRestServer.inc \ServicesClientConnectionRestServerParser::parsers

Definition of supported parsers

File

services_client_connection/plugins/ServicesClientConnectionRestServer.inc, line 285

Class

ServicesClientConnectionRestServerParser

Code

private static $parsers = array(
  'json' => array(
    'title' => 'JSON',
    'accept' => 'application/json',
    'method' => 'parseJson',
  ),
  'php' => array(
    'title' => 'PHP serialized',
    'accept' => 'application/vnd.php.serialized',
    'method' => 'parseSerialized',
  ),
  'xml' => array(
    'title' => 'XML',
    'accept' => 'application/xml',
    'method' => 'parseXml',
  ),
);