All posts (2)
Here are few steps to configure protobuf-to-java compilation in your maven project:
Install google protobuf compiler on your computer.
Configure maven protobuf compiler plugin and dependency in pom.xml
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.