Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSON Serialization #45

Open
radare opened this issue Jul 25, 2013 · 7 comments
Open

JSON Serialization #45

radare opened this issue Jul 25, 2013 · 7 comments

Comments

@radare
Copy link
Contributor

radare commented Jul 25, 2013

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

@orangeduck
Copy link
Owner

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

@xcthulhu
Copy link

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

@To1ne To1ne mentioned this issue Sep 12, 2013
@xshifty
Copy link

xshifty commented Dec 28, 2014

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
Copy link
Owner

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
Copy link

q2dg commented Aug 10, 2018

.... :-(

@zcaudate
Copy link

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
Copy link

zcaudate commented May 13, 2021

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

  • socket server with a simple protocol (my choice is the redis protocol)
  • json serialisation of a common datastructure (maps/array)

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants