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