[Freeswitch-users] JSON parser doesn;t work within freeswitch

Anthony Minessale anthony.minessale at gmail.com
Mon Nov 30 19:59:23 MSK 2015


FreeSWITCH has internal C based json parser but nothing from an external
perspective.  If you are writing a C function then you can use
switch_json.c/h
If you have the json as text you probably want to use some parser for
whatever language you are using and feed it the text.

On Mon, Nov 30, 2015 at 9:51 AM, Kamil Nigmatullin <
kamil.nigmatullin at gmail.com> wrote:

> Hello, strange thing found. I fetch JSON object with curl, then parse it.
> After parsing JSON, although it seems ok, I do not have access to the
> object. First I tried with lua, then with v8 javascript. Have the same
> result. When I do so with simple script with nodeJS everything is ok. Could
> you tell me, if Freeswitch uses some libraries for parcing JSON or any
> ideas?
>
> JSON and code was checked thousand times and also with tcpdump.
>
> Thank you
>
> --
> Kamil Nigmatullin
> Tel: 77272323748
> mob: 7 (707) 2517003
> Skype: kamil.nigmatullin
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>



-- 
Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬

☞ http://freeswitch.org/http://cluecon.com/http://twitter.com/FreeSWITCH
☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+
<http://freeswitch.org/g+>*

ClueCon Weekly Development Call
☎ sip:888 at conference.freeswitch.org  ☎ +19193869900

https://www.youtube.com/watch?v=9XXgW34t40s
https://www.youtube.com/watch?v=NLaDpGQuZDA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151130/e58e0532/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list