@@ -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' => 'Nathanmac\Utilities\Parser\Formats\XML', |
| 34 | 34 | 'text/xml' => 'Nathanmac\Utilities\Parser\Formats\XML', |
| 35 | 35 | 'xml' => 'Nathanmac\Utilities\Parser\Formats\XML', |
| 36 | - // JSON |
|
| 36 | + // JSON |
|
| 37 | 37 | 'application/json' => 'Nathanmac\Utilities\Parser\Formats\JSON', |
| 38 | 38 | 'application/x-javascript' => 'Nathanmac\Utilities\Parser\Formats\JSON', |
| 39 | 39 | 'text/javascript' => 'Nathanmac\Utilities\Parser\Formats\JSON', |
| 40 | 40 | 'text/x-javascript' => 'Nathanmac\Utilities\Parser\Formats\JSON', |
| 41 | 41 | 'text/x-json' => 'Nathanmac\Utilities\Parser\Formats\JSON', |
| 42 | 42 | 'json' => 'Nathanmac\Utilities\Parser\Formats\JSON', |
| 43 | - // BSON |
|
| 43 | + // BSON |
|
| 44 | 44 | 'application/bson' => 'Nathanmac\Utilities\Parser\Formats\BSON', |
| 45 | 45 | 'bson' => 'Nathanmac\Utilities\Parser\Formats\BSON', |
| 46 | - // YAML |
|
| 46 | + // YAML |
|
| 47 | 47 | 'text/yaml' => 'Nathanmac\Utilities\Parser\Formats\YAML', |
| 48 | 48 | 'text/x-yaml' => 'Nathanmac\Utilities\Parser\Formats\YAML', |
| 49 | 49 | 'application/yaml' => 'Nathanmac\Utilities\Parser\Formats\YAML', |
| 50 | 50 | 'application/x-yaml' => 'Nathanmac\Utilities\Parser\Formats\YAML', |
| 51 | 51 | 'yaml' => 'Nathanmac\Utilities\Parser\Formats\YAML', |
| 52 | - // MSGPACK |
|
| 52 | + // MSGPACK |
|
| 53 | 53 | 'application/msgpack' => 'Nathanmac\Utilities\Parser\Formats\MSGPack', |
| 54 | 54 | 'application/x-msgpack' => 'Nathanmac\Utilities\Parser\Formats\MSGPack', |
| 55 | 55 | 'msgpack' => 'Nathanmac\Utilities\Parser\Formats\MSGPack', |
| 56 | - // MISC |
|
| 56 | + // MISC |
|
| 57 | 57 | 'application/vnd.php.serialized' => 'Nathanmac\Utilities\Parser\Formats\Serialize', |
| 58 | 58 | 'serialize' => 'Nathanmac\Utilities\Parser\Formats\Serialize', |
| 59 | 59 | 'application/x-www-form-urlencoded' => 'Nathanmac\Utilities\Parser\Formats\QueryStr', |