protobuf-java-format

fmms 12年前
     protobuf-java-format是用于序列和反序列所有基于Google Protobuf格式的各种消息。它能够将protobuf格式还原成XML、JSON和HTML等文本格式。    <p>示例代码:</p>    <pre class="brush:java; toolbar: true; auto-links: false;">Message.Builder builder = SomeProto.newBuilder(); String xmlFormat = _load xml document from a source_; XmlFormat.merge(xmlFormat, builder);</pre>    <p><strong>项目主页:</strong><a href="http://www.open-open.com/lib/view/home/1326804122687" target="_blank">http://www.open-open.com/lib/view/home/1326804122687</a></p>    <p></p>