[Freeswitch-dev] how to use switch_json?

João Mesquita jmesquita at freeswitch.org
Tue Aug 31 12:57:46 PDT 2010


Seven, out of curiosity, have you seen this:
http://qtwiki.org/Parsing_JSON_with_QT_using_standard_QT_library

Regards,
João Mesquita



On Tue, Aug 31, 2010 at 6:34 AM, Seven Du <dujinfang at gmail.com> wrote:

> Hi,
>
> I'm developing a client based on FSComm (using QT), I need to parse
> some JSON string, as FS already has json libs build in so I don't want
> link to other json libs.
>
> I used cJSON_Parse, but when I tried to link with libfreeswitch, but
> it cannot found cJSON_Parse
>
> Undefined symbols:
>  "_cJSON_Parse", referenced from:
>
> I listed functions using
>
> nm -gfj libfreeswitch.dylib (on mac), there are no json related
>
> And there's no libjson in /usr/local/freeswitch/lib
>
> So, where is it? As event socket support json format it should be
> somewhere.
>
> I build mod_curl, then it download json lib again.
>
> I'm on git version a few days ago.
>
> Thanks.
>
> --
> Blog: http://www.dujinfang.com
> Proj:  http://www.freeswitch.org.cn
>
> _______________________________________________
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100831/39e8431b/attachment.html 


More information about the FreeSWITCH-dev mailing list