Below is an example of the original JSON to Protobuf and the result.
Original JSON to Protobuf Exampleposition : { "min_position": true, "?has_more_items": false, "items_html": "none", "new_latent_count": 0, "data": { "length":200, "text":"Please Collect Cash" }, "numericalArray" : [4,5,6,7], "StringArray" : ["Hello","How","are","you?"], "objArray" : [{"name":"yttags","age":23}, {"name":"pakainfo","age":30}] }
And an example of how the online JSON to Protobuf works.
JSON to Protobuf Resultmessage position { required bool min_position = 0 optional bool has_more_items = 1 required string items_html = 2 required double new_latent_count = 3 message DATA { required double length = 0 required string text = 1 } required DATA data = 4 repeated float numericalArray = 5 repeated string StringArray = 6 message OBJARRAY { required string name = 0 required double age = 1 } repeated OBJARRAY objArray = 7 }