How do you pull this value out of a stdClass Object?
You could access to a property with special chars using {"name"}
:
// example for access to connected property of `iamdamnsam.L3`
$data->user->workers->{"iamdamnsam.L3"}->connected
Simple example:
$data = json_decode('{"a":{"b.2":{"c":3}}}');
var_dump($data->a->{"b.2"}->c); // int(3)
# or with a variable:
$k = "b.2";
var_dump($b->a->$k->c); // int(3)