ProtobufToJSON
This Activity is placed under the General category. Use the ProtobufToJSON Activity to convert protocol buffer messages to JSON format.
For information about the .proto
files, see the proto3 Language Guide.
Settings
Field | Description |
---|---|
Proto File |
Click Browse and select a .proto file. The file must contain only the proto3 syntax.
|
Message Type Name |
All the message types from the .proto file are provided as list options. Select the message type from the list whose corresponding proto3 message you want to convert.
|
Include Default Values |
The protocol buffer message fields that have null values are excluded when converting to another format. Set this field to True to include the message fields with their default values in the JSON format output.
Default: False |
Input
Enter the protoMessage as the Activity input. The protoMessage must be a Base64-encoded string.
Output
The Output tab displays the names of the fields for the selected message type from the .proto
file.
Loop
For information on the Loop tab, see Using the Loop Feature in an Activity.