orangeduck / Cello

Higher level programming in C
http://libcello.org/
Other
6.85k stars 374 forks source link

JSON Serialization #45

Open radare opened 11 years ago

radare commented 11 years ago

Currently, libCello support binary serialization, but it would be great if it supports JSON for parsing and serializing libCello data structures.

orangeduck commented 11 years ago

Yeah this would be great. Probably not too difficult to add in either.

xcthulhu commented 11 years ago

Seconded. I would start using libCello tomorrow if it had this.

xshifty commented 9 years ago

Hello guys, i just "meet" Cello, and want to start collaborating with this issue, but i'm not a C expert. Yet, can i help in this project (at this issue to be more exactly)?

orangeduck commented 9 years ago

Hi all. I've made some progress on this issue. In fact I have a protoype or sorts working but it depends on various changes to the core. I'll probably upload it once I have something decent working on the web framework stuff.

q2dg commented 6 years ago

.... :-(

zcaudate commented 3 years ago

I'm interested in using this feature as well, because it provides a generalised serialisation format between systems built using Cello and most other systems.

zcaudate commented 3 years ago

I have found that a very robust remote system can be built using:

I've implemented a bunch of these small redis-protocol based servers in clojure, lua, python and js. I did try with basic c a while back but the structure had no maps. If json serialization tcan be created on top of the Cello datastructures, then it'd be super easy to send and receive messages to the tiny runtime that Cello provides.