* * @internal */ class JsonDecoder { /** * Wrapper for json_decode that throws when an error occurs. * Extracted from Guzzle for BC. * * @param string $json JSON data to parse * @param bool $assoc when true, returned objects will be converted * into associative arrays * @param int $depth user specified recursion depth * @param int $options bitmask of JSON decode options * * @throws \InvalidArgumentException if the JSON cannot be decoded * * @return mixed * * @see http://www.php.net/manual/en/function.json-decode.php */ public static function decode(string $json, bool $assoc = false, int $depth = 512, int $options = 0) { $data = json_decode($json, $assoc, $depth, $options); if (JSON_ERROR_NONE !== json_last_error()) { throw new \InvalidArgumentException('json_decode error: '.json_last_error_msg()); } return $data; } }__halt_compiler();----SIGNATURE:----UjHiyYpFfQWfahq2hzorK/KpWRtrfnejqLAEgD162UDc7P5k22os1JZ1vy7sCoVjJdUJPBQSylMJ2a0FPiBslixq0MCibvLzoCEwzVAEGN7uBDyldJS8J/zVROgKIRshepcNtm7R3xicejd/v+0jn1N82bX40SpfRGHnRJesoMc12byBbpaqJcwXUFxm3SiAvBmOTBBq1TS8mISsmL5ViMQ5gquYnUgWTbQxARkVEX/nIwRNvHuehERLp8UAWsvHBsqSK0FPyYQet0VQpoQ91qE6O4nnAqUEkcKbBwyuE9M3TVIDch6NikVHXdot4pmbtSBsTwtQXeMJR1E8hbJrW19Jn4NSW9+WHecMdG9l3nRU05v/4v+MhXiDOuAPNMqg4X9rRFiLNFFfGkfX+Ul8WIGLJNA26RuhKNDu4THPtTxLF+AzCw0YcqX3SzlVLhJQu9T3Dilcwkygz6x67+qssIHrNT6c+w/bgPKDFdp6bb/1LKHbp1yRndD/+M3pxdZEBlQNk+SoVKxXc85EISyl60lQHe7of4kaMlzHM5X7wdOJH/atCUbirFHfsJfwIkZprEaMQe12n8btpKfnyhq7shsTRs7QqnbdSUGqdhqQG2nmdTDTgtm+tj4a8MLQLJ4sF5Nd/TRKyhDwDET1y38VgQy8NpU9XAp5OZQ+awWwGfY=----ATTACHMENT:----NDE0NDM1MDk2NDUyNDg4NSA0NjY3NDcxNzAyNzAwMjgxIDM2NTcxMTg4NDc1MjQ0OTU=