zhoushineyoung / jackson-dataformat-protobuf

Experimental Jackson module that uses protostuff protoc parser and allows parsing/generation of protobuf encoded content using Jackson databind

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Overview

Project contains Jackson extension component for reading and writing Protobuf encoded data (see protobuf encoding spec). This project adds necessary abstractions on top to make things work with other Jackson functionality; mostly just low-level Streaming components (JsonFactory, JsonParser, JsonGenerator).

Project is licensed under Apache License 2.0.

Dependencies

Protoc (protobuf IDL) parsing is done using square/protoparser library. (note: another library, Protostuff, also has usable parser)

Status

Build Status

(Jan-2014): Still in initial prototyping phase:

  • Basic integration of protoparser exists, looks like we can read protoc stuff as expected. * Starting to work on ProtobufGenerator first, seems slightly simpler
    • one complex part: protobuf uses length-prefixing, which is a major PITA for embedded messages

About

Experimental Jackson module that uses protostuff protoc parser and allows parsing/generation of protobuf encoded content using Jackson databind


Languages

Language:Java 100.0%