Re: [OpenSIPS-Users] json decode and access?

2018-08-02 Thread Richard Revels
I'm using a webserver response rather than cache_fetch but this may help. #we got a valid response from the web server. convert from string to json object $json(resp-obj) := $avp(router-resp); if( $avp(ok_log_this) == "true" )

[OpenSIPS-Users] json decode and access?

2018-08-02 Thread J E H A N Z A I B
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.