[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
I have another application storing the json encoded object in the redis
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
[id] => 161
[user] => xxx
[xx] => xxxx
[xxxx] => xxxx
How to access user for example ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users