json-io

121 views
Skip to first unread message

John

unread,
Oct 25, 2010, 11:19:33 AM10/25/10
to jsonmarshaller
For extremely fast Java to JSON (and JSON to Java), see this project:
http://code.google.com/p/json-io/

This code has been used in production for over 2 years, is highly
tuned for speed, serializes anything (no need for Serializable or
Externalizable), works great with Javascript, and does not require any
configuration files, or other external description to serialize.

I have a JSON rpc project that uses json-io as the core for passing
the remote procedure calls (method requests) and passing the return
values. I expect to have this checked in within the next week or two.

The Noid

unread,
Oct 25, 2010, 11:38:01 AM10/25/10
to jsonmarshaller
The examples on that page are very minimal.

How do you control what gets put into the json?

Can that library handle lists of classes that are only known by an
interface? Example a class that has the field:
private List<Vehicle> vehicles;
Where Vehicle is an interface. Can it serialise and de-serialise that?

I suspect json-io does a lot less than jsonMarshaller, but the docs
and examples are too minimal to say for sure...

Greetings,
Hylke
Reply all
Reply to author
Forward
0 new messages