* * @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:----lnYF56Fr5sVleHivWdNbxWaXKpLp4MlGeZt8zVloxS8tsbQ/YwM4syFT9KNs2H7AUbAVdT5XiIIPMvZBuK+dXLgybkrsHWzGRIqqhLcEhZg9Xr9Gg5GndfIxsu/CWBrivPTOVmxto73FF8MJWADFGKfIyrd2ce4BbKlULvFC8VvAukK8RrEAmjhs68siKAgd9NngtUYEYwQ1Bt6tXppp39hD+HaahPwscrTY9PkIzQqRt8aWyKIHXidVzSjLW0VaknWNZ9tZUCMEuagIfQcGZtVHyg+YAZVDnjS2r57EnOMYUk/GxR0u3EBvUtnnNy7g0j/rTg+hA1Ek+BmNq98zLXesSEhlCozPYADUoB9+Ni5GaF/Q8DKYYsc1XL1hFXKpgTfEaoPuaKM9ysJXOA6d5cJT4wCmAZ5Dc3UYFDHtR0nslTFjnUZiZfXdIzhlDEbS23RAz534ZhKwZKGhedtNLXdFS9DXkB5Pq1mceJ/JGn6354Ig8qAThVaTFf0xzPS7KV1m6ZDv+Ib6P5UBj9Le0ljUCMJV4c0AFVTA7RGk4BwmewLdE4xkZbm0qd7Pva6+Ie7wjPwbJSU7k90PrENYdIMRHwUGdWnAkrGiLnPl+WwnFf8DSNom79vKNLalRKsCC2R19SBvFoBa8jqk/uxtUxTLVj/31v5OB3SGLd3Lzz4=----ATTACHMENT:----Mjc4OTMyODU2NTUwMTE5MCA2MDYyNzk4MjM2MzkzNjM2IDM3NTE1ODc1Njg5NDUxMzk=