google protobuf

All posts (2)

Configuring Protobuf to Java compiler in maven

Here are few steps to configure protobuf-to-java compilation in your maven project:

Install google protobuf compiler on your computer.

Java-protobuf-format: Easy Protobuf-to-JSON Serialization in Java

If you need Google Protobuf-to-JSON serialization (and vice versa) there is quick solution. Protobuf-java-format library provides serialization of protobuf-generated java classes to number of formats: JSON, XML, HTML, Java property file format, Smile, CoachDB.

Here is a step-by-step instruction.

logo   Never miss a story, subscribe to our newsletter