When using the regular Java Protobuf, you can use JsonFormat
from com.google.protobuf:protobuf-java-util
to convert the Protobuf message to a JSON string, and back.
But does there exist a converter that works with Java Protobuf Lite? JsonFormat
unfortunately supports the regular Java Protobuf messages only.