Object to JSON transformer

Object to JSON transformer

Object to JSON transformer

The Object To JSON transformer transforms the provided Object to a JSON string. The provided object has to be serializable.

 In the table below, you will find an explanation about these properties. All attributes with a ‘*’ are mandatory.

Attribute

Description

Name*

By default, we fill this out with the technical ‘tag’, followed by a serial number. Changing the name is optional.

Enabled

Set this value to true, if you want this service to be enabled.

MessagePart-In

Name of the MessagePart in a ConnectMessage where the content of the file is being stored.

MessagePart-Out

Name of the MessagePart in a ConnectMessage where the content of the file is being stored.

Reflection Expression

Java method to call upon Object before transformation. Can be concatenated. I.e: getInnerObject() calls this method. getInnerObject().getEvenMoreInnerObject() subsequently calls deeper object.

 

In order to successfully combine the use of these services with our Analyze functionality, it is required to place the jar file containing the classes required for marshaling in to the Agent's jars/endorsed directory, rather than placing it in the Resources of the bundle.