* * @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:----h/GEOUiT6MecwSmAXHDjeZSPTyhyi2F+5EEgFqFtbYN9+2UfJNKScgRjamnXMjnmKfzeUtHojaJczj35o7oQwT4+34Wk13enX/Ue7fcZ80WAMx6NfRhh57CD5gWqfNeYGd+8Rpf7h/LZh+8LBsKOm+ircaDfpHrhVe2CNA77atV7CvJy8VyxBZl9D8NKaNcLHT17uMfMcLIO6J9rDLDIBqA9s2Lb9B/FgyoJf3oGV2jg14sfBJmhK+x4PWZDbe6EZhkcqdkya0+zYphwxiaq/PGkd7HMazobpzNzIld2WERXlrJHtMQK4MFKJ0iqkg0grDMOyD5VJIzAWIDBcwP7fuPRKNUKOS5aESB39cIIw707P61671IiFyG3XteSK67WgaxKXOrB+P235FwMQgeiE6VVG4D0+TX7h8U5NQ3bhWeIDd2NBpsBoNebqhixQM24rYyvwQlPhlm3Fl90x7lyFVulzHnbmw4Qu+CDq76MRtkSMJbC7rq3iwKp7gy0ftgi7c3HsgSsm/rZcjUwfaoBhZso71C7F9Njw4Mc5tBwSgFm/zLBGSTfqFMBNSPKFhBozeJxpl5uawyKjxo1TdaEZ8EGQWlFaJsG6E6I3zFlqZ7Pc9pbisIKt7JinZwAo9/pRn7jYs0ysXE5gTwWIQu7Ympz+oIuQWg6kcBMEJgimB4=----ATTACHMENT:----NDY2MTEzODQwODk4MDMxNyA2MjE2MDcxNTM3ODAyNTgwIDI2MzExMzI1OTM4NDk0Mw==