خرید بک لینک

Vote count: 0

I'm new to using protobuf, and was wondering if there is a simple way to convert a json stream/string to a protobuf stream/string in Java?

For example,

protoString = convertToProto(jsonString)

Basically, I have a json string that I want to parse into a protobuf message. So, I want to first convert the json string to protobuf, and then simply call Message.parseFrom() on it.

Thanks in advance for the help!

asked 2 mins ago

- - , .
.

برچسب: نویسنده: استخدام کار تاريخ: شنبه 26 تير 1395 ساعت: 6:34

صفحه بندی