@@ -29,31 +29,31 @@ |
||
| 29 | 29 | * @var array Supported Formats |
| 30 | 30 | */ |
| 31 | 31 | private $supported_formats = [ |
| 32 | - // XML |
|
| 32 | + // XML |
|
| 33 | 33 | 'application/xml' => XML::class, |
| 34 | 34 | 'text/xml' => XML::class, |
| 35 | 35 | 'xml' => XML::class, |
| 36 | - // JSON |
|
| 36 | + // JSON |
|
| 37 | 37 | 'application/json' => JSON::class, |
| 38 | 38 | 'application/x-javascript' => JSON::class, |
| 39 | 39 | 'text/javascript' => JSON::class, |
| 40 | 40 | 'text/x-javascript' => JSON::class, |
| 41 | 41 | 'text/x-json' => JSON::class, |
| 42 | 42 | 'json' => JSON::class, |
| 43 | - // BSON |
|
| 43 | + // BSON |
|
| 44 | 44 | 'application/bson' => BSON::class, |
| 45 | 45 | 'bson' => BSON::class, |
| 46 | - // YAML |
|
| 46 | + // YAML |
|
| 47 | 47 | 'text/yaml' => YAML::class, |
| 48 | 48 | 'text/x-yaml' => YAML::class, |
| 49 | 49 | 'application/yaml' => YAML::class, |
| 50 | 50 | 'application/x-yaml' => YAML::class, |
| 51 | 51 | 'yaml' => YAML::class, |
| 52 | - // MSGPACK |
|
| 52 | + // MSGPACK |
|
| 53 | 53 | 'application/msgpack' => MSGPack::class, |
| 54 | 54 | 'application/x-msgpack' => MSGPack::class, |
| 55 | 55 | 'msgpack' => MSGPack::class, |
| 56 | - // MISC |
|
| 56 | + // MISC |
|
| 57 | 57 | 'application/vnd.php.serialized' => Serialize::class, |
| 58 | 58 | 'serialize' => Serialize::class, |
| 59 | 59 | 'application/x-www-form-urlencoded' => QueryStr::class, |