i don't know if we have the patch of json, maybe that's a nice start point
for you
owhttp is very easy to understand :)


2014-03-19 12:44 GMT-03:00 Paul Alfille <paul.alfi...@gmail.com>:

> Send a patch. We'll include it.
>
>
> On Wed, Mar 19, 2014 at 9:44 AM, Roberto Spadim <robe...@spadim.com.br>wrote:
>
>> Hummm well all you need is owhttp.c file all json things are there add a
>> new jsonp directory and start a nde patch :)
>>
>> Em quarta-feira, 19 de março de 2014, Michael Markstaller <m...@elabnet.de>
>> escreveu:
>>
>> On 19.03.2014 00:44, Roberto Spadim wrote:
>>> > something like this?
>>> >
>>> > |//JSON - instead of:
>>> > {"name":"stackoverflow","id":5}
>>> > //JSONP - return :
>>> > func({"name":"stackoverflow","id":5});|
>>>
>>> Yes, exactly.
>>> I think a static callback-function like owhttp_callback({data ..});
>>> would do the job..
>>>
>>> While playing around with json-output in owhttpd I also found some
>>> oddities:
>>> - Single values (like /json/28.xxx/temperature) returns invalid JSON
>>> without curly brackets around {} the data
>>> - on Error/Not found etc. HTML is returned instead of JSON (also true
>>> for text.
>>>
>>> Michael
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Learn Graph Databases - Download FREE O'Reilly Book
>>> "Graph Databases" is the definitive new guide to graph databases and
>>> their
>>> applications. Written by three acclaimed leaders in the field,
>>> this first edition is now available. Download your free book today!
>>> http://p.sf.net/sfu/13534_NeoTech
>>> _______________________________________________
>>> Owfs-developers mailing list
>>> Owfs-developers@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>>
>>
>>
>>  --
>> Roberto Spadim
>> SPAEmpresarial
>> Eng. Automação e Controle
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Learn Graph Databases - Download FREE O'Reilly Book
>> "Graph Databases" is the definitive new guide to graph databases and their
>> applications. Written by three acclaimed leaders in the field,
>> this first edition is now available. Download your free book today!
>> http://p.sf.net/sfu/13534_NeoTech
>> _______________________________________________
>> Owfs-developers mailing list
>> Owfs-developers@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>
>>
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> _______________________________________________
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
>


-- 
Roberto Spadim
SPAEmpresarial
Eng. Automação e Controle
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to