There's a significant overhaul to the json and jsonrpc-c modules available at https://github.com/flowroute/. I've been trying to find time to test and merge into maser.


On Fri, Sep 13, 2013 at 1:00 PM, Florian Lohoff <f@zz.de> wrote:

Hi,

is it correct that the json_get_field returns the quotes from the json
document?

Example:

{ "foo": "bar" }

json_get_field("$var(json)", "foo", "$var(result)");

result will contain "bar" with quotes ...

I was a little astonished to see that.

Flo
--
Florian Lohoff                                                 f@zz.de

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIVAwUBUjNEk5DdQSDLCfIvAQhinw//cmnkxyGKn3gzjeQVKUpUugK8LtNuckql
o2MVtuSqnBGYGKUgHwB+GRTy6hZwMgE8YAhg7s171sYYRrbUg3bd90msajW/7Aaa
dfZ80EBF33+mIzfzd7FHFgOgKZExfZhtyyuAP4fu1IulYpE6hgQzHAFI9st1VYBG
PeIFneWNsed7p8lfY5QZW7eIdRWBVYAiJW+3kpHcmiUFnBLJmP4yhOepIn6eYWLc
lmKjVBh0oK/aOPgqSeSviMGiQyEu/cvK9fPzHS2YdOYd6SfXcyKokOnIubvZwPeN
DBJJ2Fsfg9JFS3USNg8InXJbyCnKbvEHwcYezKmkEPcP74eaek+HIFNGG8QNIaVk
0bKO1tgvXA2ZNe00Aehc7zHTGorS8EXgdDb2xiEP5jalsikWPFhwAOJPQfIz6JDR
sxPLJbzGviV+1GQAr6e8OjVgPr+gpvlc+pgVbTy4K7hB4HchK/Zfggx2XQj67BOu
nMWyQRx0yGJAIHj/PJ1ZgKhseXOyrVNXd4CyItDUrfvgj6lPBu8QMRhNjhwcJXaf
Yzqof3WZWKhf5IgdvmDBFMSedlbR+x0eKD19LCPIt0z2u/DrvKC2ZuREFKT0XKGB
+iwssqniS+KgUngZTwXzCULsUz3VSSKt7VzHrFF+1zAIVsCO3WknjvMEKzlxfV5c
NLCpE3f1bH4=
=Z42u
-----END PGP SIGNATURE-----

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users