$remote->json()
Decode the response content
$remote->json(bool $array = true): stdClass|array|null
Parameters
Name | Type | Default | Description |
---|---|---|---|
$array | bool |
true |
decode as array or object |
Return type
stdClass
|array
|null