Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Protocol Buffer coder/decoder
Java
Branch: master
Failed to load latest commit information.
dist/protobuf Merged changes from aantono, disted 1,2
protobuf-codec-core Merged changes from aantono, disted 1,2
protobuf-codec-json
protobuf-codec-text Merged changes from aantono, disted 1,2
protobuf-codec-xml Merged changes from aantono, disted 1,2
.classpath disted version 1.0
.gitignore Added support for providing field name overrides when reading and wri…
.project initial write
LICENSE.txt added licensing info
README.md Updated readme
pom.xml Merged changes from aantono, disted 1,2

README.md

Protobuf Codec

Protobuf-codec provides codec for protobuf and other data formats like xml/json. It is fast and relies on proven frameworks like jackson for json and woodstox for xml for parsing.

This library is listed under the protobuf third party addons page ( http://code.google.com/p/protobuf/wiki/ThirdPartyAddOns ) as "Another JSON encoder/decoder for Java"

Project Wiki

UPDATES:

20/Aug/11 : Disted version 1.2 - Added support for text codec (courtesy aantono) - Support stripping of underscores and field name replacements for json (courtesy aantono)

03/Jan/11 : Disted version 1.1 - Base64 encode unknownfields instead of hex - Added support for byte protobuf type, ByteString is written out as a base64 encoded string.

08/Dec : Disted version 1.0 - Added support for xml - Added support for unknown fields - Split into a maven multi module project- core,xml and json - Removed com.google from package declaration.

06/Dec : - Mavenized and disted verion 0.0.1

BUILDING

  • Needs Maven
  • Needs protoc to run test cases.

DEPENDENCIES :

  • Jackson for json parsing.
  • woodstox for xml parsing
  • commons-codec for base64 encode/decode

BUGS & ISSUES

Raise bugs/issues on git

Something went wrong with that request. Please try again.