ProtobufToJSON

This activity is placed under the General category. Use the ProtobufToJSON activity to convert protocol buffer messages to JSON format.

For information about .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

Refer to the section on "Using the Loop Feature in an Activity" in the TIBCO Flogo® Enterprise User's Guide for information on the Loop tab.