All Projects → bivas → Protobuf Java Format

bivas / Protobuf Java Format

Licence: other
Provide serialization and de-serialization of different formats based on Google’s protobuf Message. Enables overriding the default (byte array) output to text based formats such as XML, JSON and HTML.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Protobuf Java Format

protoc-plugin
A protoc compiler plugin for Clojure applications
Stars: ✭ 28 (-79.1%)
Mutual labels:  serialization, protobuf, protocol-buffers
kafka-protobuf-serde
Serializer/Deserializer for Kafka to serialize/deserialize Protocol Buffers messages
Stars: ✭ 52 (-61.19%)
Mutual labels:  serialization, protobuf, protocol-buffers
Protobuf Nim
Protobuf implementation in pure Nim that leverages the power of the macro system to not depend on any external tools
Stars: ✭ 90 (-32.84%)
Mutual labels:  protobuf, protocol-buffers, serialization
ocaml-pb-plugin
A protoc plugin for generating OCaml code from protobuf (.proto) files.
Stars: ✭ 18 (-86.57%)
Mutual labels:  serialization, protobuf, protocol-buffers
Protobuf
Protocol Buffers - Google's data interchange format
Stars: ✭ 52,305 (+38933.58%)
Mutual labels:  protobuf, protocol-buffers, serialization
protobuf-d
Protocol Buffers Compiler Plugin and Support Library for D
Stars: ✭ 32 (-76.12%)
Mutual labels:  serialization, protobuf, protocol-buffers
elm-protobuf
protobuf plugin for elm
Stars: ✭ 93 (-30.6%)
Mutual labels:  serialization, protobuf, protocol-buffers
javascript-serialization-benchmark
Comparison and benchmark of JavaScript serialization libraries (Protocol Buffer, Avro, BSON, etc.)
Stars: ✭ 54 (-59.7%)
Mutual labels:  serialization, protobuf, protocol-buffers
nimpb
Protocol Buffers for Nim
Stars: ✭ 29 (-78.36%)
Mutual labels:  serialization, protobuf, protocol-buffers
Protobuf
A pure Elixir implementation of Google Protobuf
Stars: ✭ 442 (+229.85%)
Mutual labels:  protobuf, protocol-buffers, serialization
Protocol Buffers Language Server
[WIP] Protocol Buffers Language Server
Stars: ✭ 44 (-67.16%)
Mutual labels:  protobuf, protocol-buffers
Samay
Command line Time tracking and reporting. Built using Go(programming language) and protocol buffers.
Stars: ✭ 37 (-72.39%)
Mutual labels:  protobuf, protocol-buffers
Protobuf
Go support for Google's protocol buffers
Stars: ✭ 8,111 (+5952.99%)
Mutual labels:  protobuf, protocol-buffers
Fhir.js
Node.JS library for serializing/deserializing FHIR resources between JS/JSON and XML using various node.js XML libraries
Stars: ✭ 61 (-54.48%)
Mutual labels:  xml, serialization
Protoeasy Go
Simpler usage of protoc. Deprecated.
Stars: ✭ 129 (-3.73%)
Mutual labels:  protobuf, protocol-buffers
Protobuf Swift
Google ProtocolBuffers for Apple Swift
Stars: ✭ 925 (+590.3%)
Mutual labels:  protobuf, protocol-buffers
Protobuf
Python implementation of Protocol Buffers data types with dataclasses support
Stars: ✭ 101 (-24.63%)
Mutual labels:  protobuf, protocol-buffers
Protostuff
Java serialization library, proto compiler, code generator
Stars: ✭ 1,730 (+1191.04%)
Mutual labels:  protobuf, serialization
Protobuf Convert
Macros for convenient serialization of Rust data structures into/from Protocol Buffers 3
Stars: ✭ 22 (-83.58%)
Mutual labels:  protobuf, serialization
Pufferdb
🐡 An Android & JVM key-value storage powered by Protobuf and Coroutines
Stars: ✭ 91 (-32.09%)
Mutual labels:  protobuf, protocol-buffers

Fork from http://code.google.com/p/protobuf-java-format/

Build Status

Description

Provide serialization and de-serialization of different formats based on Google’s protobuf Message. Enables overriding the default (byte array) output to text based formats such as XML, JSON and HTML.

##Example For XML output, use XmlFormat

Message someProto = SomeProto.getDefaultInstance();
XmlFormat xmlFormat = new XmlFormat();
String asXml = xmlFormat.printToString(someProto);

For XML input, use XmlFormat

Message.Builder builder = SomeProto.newBuilder();
String asXml = _load xml document from a source_;
XmlFormat xmlFormat = new XmlFormat();
xmlFormat.merge(asXml, builder);

For Json output, use JsonFormat

Message someProto = SomeProto.getDefaultInstance();
JsonFormat jsonFormat = new JsonFormat();
String asJson = jsonFormat.printToString(someProto);

For Json input, use JsonFormat

Message.Builder builder = SomeProto.newBuilder();
String asJson = _load json document from a source_;
JsonFormat jsonFormat = new JsonFormat();
jsonFormat.merge(asJson, builder);

For HTML output, use HtmlFormat

Message someProto = SomeProto.getDefaultInstance();
HtmlFormat htmlFormat = new HtmlFormat();
String asHtml = htmlFormat.printToString(someProto);
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].