$order = [
id => 12345,
name => 'Арт.',
key => 'product',
value => 'Иван Иванов'
];$orders = [
[0] => [
id => 12345,
name => 'Арт.',
key => 'product',
value => 'Иван Иванов'
],
];$val = [];
foreach($orders as $order)
$val[] = $order['value'];json_encode( $string)(array)$result