[OpenSIPS-Users] json decode and access?
J E H A N Z A I B
jehanzaib.kiani at gmail.com
Thu Aug 2 18:43:55 EDT 2018
Hi team,
I have another application storing the json encoded object in the redis
cache.
I read we can fetch using cache_fetch by passing the key. This is perfect
but I cant find a function to decode the json I have since my other
application is encoding the json object and putting into the redis. I need
a function to decode it first.
Second question is, after the decode the object is like
Object
(
[id] => 161
[user] => xxx
[xx] => xxxx
[xxxx] => xxxx
)
How to access user for example ?
Thank you
--
Regards,
Jehanzaib
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20180803/a837bb11/attachment.html>
More information about the Users
mailing list