Is $json_string
a json string or is it an “object” as you posted.
If it’s a json string you can’t access the values in it using $json_string->category->sector
unless you decode it first.
$object = json_decode($json_string);
I’m already decoding …
$json_string = json_decode($result);
and echo 'sector: '.$json_string->category->sector.'<br />';
confirms that the specific value is getting plucked out.
Need to alter my use of language/name. String result to start, object once decoded.