[OSC_dev] json type tag ?

salsaman at xs4all.nl salsaman at xs4all.nl
Mon Mar 30 12:33:47 PDT 2009


On Mon, March 30, 2009 21:23, Gaspard Bucher wrote:
> Hi there !
>
> I have implemented a json parser in liboscit and I think it can be
> useful to send json data through osc since this enables sending
> complex structures such as dictionaries. Sending json through osc will
> not be the norm since it takes cpu and bandwidth. But it has it's
> place especially during initialization.
>
> Anyway, what do you think of using "j" as tag for this format ?
>
> Thanks for your opinions.
>
> Gaspard
> _______________________________________________
> OSC_dev mailing list
> OSC_dev at create.ucsb.edu
> http://lists.create.ucsb.edu/mailman/listinfo/osc_dev
>

I think it is a nice idea - I have been considering creating a standalone
openGL front end for LiVES/videojack, and sending mapping data using json
via OSC.

If/when I get round to implementing it I will let you know, but its likely
to be several months (if not years...) down the line.


Still, the idea makes sense.


I am not sure about using a new type tag though...what I like about OSC is
its simplicity, and we should avoid "type tag creep". Is it not possible
to use part of the namespace to indicate json, and just send it as a
string ?



Cheers,
Salsaman.
http://lives.sourceforge.net




More information about the OSC_dev mailing list