public function getContentDataAttribute($value) { $value = json_decode($value, true); if (!is_array($value)) { return \Qiniu\json_decode($value, true); } return $value; }
private static function bodyJson($body, array $config = array()) { return \Qiniu\json_decode((string) $body, isset($config['object']) ? !$config['object'] : true, 512, isset($config['big_int_strings']) ? JSON_BIGINT_AS_STRING : 0); }
private static function bodyJson($body) { return \Qiniu\json_decode((string) $body, true, 512); }