* * @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:----knse9a4WkO7XcFcFFYNDjo6HC3mvd3/mcYWr8yo7+4nM8Bh49lgC2mYReARmtnI1NMvutRHmQxHQnvHbB0LeJEbeGxLzWT7EB33GP5yO+BEBTx3Xj3HbOLRHdr8pBvXH9FrbkHDHcNLSKY2J7c1k9fH2LskQUyLQ9VmyzbT4ct403ONv5Vom9ZH4LRhJ6pW2AL7QLjj63A1MoBYIdPRRAPxrL5TBp+5SVs4994bam6Gha2UGZMC1yNxRk/ZJmCKO0MPC4stUpKeNwohHdjojCbfn1SWR/JxRDKtwC9uoNHEEYAWTYrb2AJfnn5AR6HHqN39I/sAql55tNTM2XI+GOM5nCw6Cwx4fmzdmXKnXTIalO9+876mCjc62hi9EHfoJB3QINbmSUhqNDAMjZXXlFhlfcE8ORViWxtJAwscKBgVTSTDUP/IeOyjiZ3fYz6cl9b3c4j+kN7osFTpGwQjDAW2067Cog5uSRRtn3XsPn3/9GYqUTGNeaMbU2hD+dnbl4F9mxnbk+p4fArMAjznaSjQNAEcG/tyQHjo0Q+J61406l/AjlnfVsXxfOKUo3yhTJPaPuHJvhUN6jxN+jYiQw/gbrpBh8d7dGHClInnGXrjdibp9NXXDlYcWQ2ivxS+qB1zrO3rkVoEY8KF4ymS0Kfb8t0vn7SeMNBd/u43GTP0=----ATTACHMENT:----NjA0NzE1NDU1OTg1NzQ5NSA2ODg4NDgxNTQ1NTU2NTM2IDU5MjE1MjMyMTA3OTk2NDc=