[SR-Users] json module / quotes in result

Florian Lohoff f at zz.de
Fri Sep 13 19:00:03 CEST 2013


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 at zz.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20130913/9dd91820/attachment.pgp>


More information about the sr-users mailing list