Registry / serialization / protobuf-java-format

protobuf-java-format

JSON →
library1.4javamavenunverified

A library for serializing and deserializing Google Protocol Buffers messages to and from text-based formats such as XML, JSON, and HTML.

<dependency> <groupId>com.googlecode.protobuf-java-format</groupId> <artifactId>protobuf-java-format</artifactId> <version>1.4</version> </dependency>
INSTALL
IMPORT
SIG · PROTOBUF-JAVA-FORM
P
protobuf-java-format
serializationjavav1.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

JsonFormat
com.googlecode.protobuf.format.JsonFormat

Serialize a protobuf message to JSON string.

import com.googlecode.protobuf.format.JsonFormat; MyMessage msg = MyMessage.newBuilder().setName("test").build(); String json = JsonFormat.printToString(msg);
Debug
Known issues
gotchaLibrary is no longer actively maintained; consider using protobuf-java-util from Google.
fix
Use com.google.protobuf:protobuf-java-util for official JSON support.
affects: >=1.4
Upgrade
Version history
1.4latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
protobuf-java-format — mvn dependency:get protobuf-java-format · libregistry