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
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to