RugsOn.org
Structured Data Representation

Serialization, Representation, and RugsOn

May 12, Saturday, 2012

The slides in Conference held at Nagoya is here. » OSCNagoya2012.pdf (6.4MB)

April 14, Saturday, 2012

The slides in Conference held at pattaya is here. » PSRCPattaya2012.pdf (6.9MB)

March 11, Sunday, 2012

The slides in Open Source Days 2012 is here. » OSDaySlides.pdf

Starbucks example programs for JSON are here. » JsonLibrary.zip (3.5MB)

Other programs for other formats are here. » JavaSerializeExamples2.zip (9.9MB)

Serialization Techniques:

  • Standard Object Serialization in Java
  • XStream - http://xstream.codehaus.org/
  • Apache Avro - http://avro.apache.org/
  • Thrift - http://thrift.apache.org/
  • ProtoBuf - http://code.google.com/p/protobuf/

Libraries to serialize in JSON:

  • Flexjson - http://flexjson.sourceforge.net/
  • Gson - http://code.google.com/p/google-gson/
  • Jackson - http://jackson.codehaus.org/
  • Json-lib - http://json-lib.sourceforge.net/
  • JsonMarshaller - http://code.google.com/p/jsonmarshaller/
  • Json-Smart - http://code.google.com/p/json-smart/

Protostuff - http://code.google.com/p/protostuff/

March 9, Friday, 2012

Source code of yacc & lex to parse a JSON file are here. » json-src.zip

The code is written in Java, and it uses two code generators: byaccj and jflex.
If you need to generate source code from scan.l, you can get it with executing

jflex scan.l

If you generate source code from parse.y, you can get it with executing

byaccj -J -Jclass=JsonParser -Jpackage=json -vd parse.y

November 26, Saturday, 2011

The slides of my talk in ISSJ 2011 are here (in Japanese). » ISSJ2011 (HTML)

November 18, Friday, 2011

The slides of my talk are here.

November 17, Thursday, 2011

My paper published in 2009 explains about the previous version » ICADIWT-2009.

November 16, Wednesday, 2011

Starbucks example programs are here: » JavaSerializeExamples.zip (about 19MB).

This is a project built by NetBeans including jar files which are needed for running example programs. Those jare files are

  • avro-1.5.4.jar
  • avro-tools-1.5.4.jar
  • javassist.jar
  • kxml2-2.3.0.jar
  • libthrift-0.8.0-snapshot.jar
  • msgpack-0.6.0-devel.jar
  • protobuf-java-2.4.1.jar
  • xstream-1.4.1.jar

My product is here, it’s just not evenly distributed yet.

It will release in May. Thank you.