Re: [SR-Users] json module / quotes in result

2013-09-14 Thread Ron McLeod
;dst_val); return 1; } Ron -Original Message- From: sr-users-boun...@lists.sip-router.org [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Florian Lohoff Sent: September-13-13 10:00 AM To: sr-users@lists.sip-router.org Subject: [SR-Users] json module / quotes in result

Re: [SR-Users] json module / quotes in result

2013-09-13 Thread Matthew Williams
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 wrote: > > Hi, > > is it correct that the json_get_field returns the quotes fr

[SR-Users] json module / quotes in result

2013-09-13 Thread Florian Lohoff
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