Forums

WORKING WITH JSON DATA RETRIEVED FROM DATABASE (READ DATA)

atanunu 29 Aug, 2017
Please how do I JSON decode, data retrieved from database using the read data element (all matching records retrieved.)
GreyHead 29 Aug, 2017
HI atanunu,

Please try a Custom Code action using json_decode()

Bob
atanunu 03 Sep, 2017
Sir, please I have tried many codes but no success. Kindly assist



<?php
$this->data["SCHREresult"] = json_decode($this->get("read_data5"), true);
?>

<?php
$this->data["SCHREresult"] = json_decode($this->get->read_data5), true);
?>
simelas 10 Oct, 2018
1 Likes
name_of_the_filed/json within "SPECIAL FILEDS" of the read data action
healyhatman 11 Oct, 2018
{var.jsonde:read_data5.model.field}
This topic is locked and no more replies can be posted.