Interpréter réponse d'une commande REST

Version on récupère tout dans des tag du même nom

$tags = $scenario->getTags();
$req  = 'curl "http://192.168.86.90/get_stove_data"';
$poelejson = shell_exec($req);
$json=json_decode($poelejson, true);
foreach( $json as $key => $value ) 
$tags['#'.$key.'#'] = $json["$key"];
$scenario->setTags($tags);