Jay Taylor's notes
back to listing indexprotobuf-java-format - Serialization support for Google's protobuf Message for Java based clients - Google Project Hosting
[web search]
Original source (code.google.com)
Clipped on: 2015-10-07
Project Information
Featured
Links
|
DescriptionProvide 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. ExampleFor XML output, use XmlFormat Message someProto = SomeProto.getDefaultInstance(); For XML input, use XmlFormat Message.Builder builder = SomeProto.newBuilder(); For Json output, use JsonFormat Message someProto = SomeProto.getDefaultInstance(); For Json input, use JsonFormat Message.Builder builder = SomeProto.newBuilder(); For HTML output, use HtmlFormat Message someProto = SomeProto.getDefaultInstance(); What's next? |
Powered by Google Project Hosting