Avro is a language agnostic data serialization and RPC framework initial developed within Apache's Hadoop project. It uses JSON or defining data types and protocols, and serializes data in a compact binary format.
Example code used in presentation found in:
http://github.com/dmtrs/introduction-to-avro