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 of 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 marshalling in to the Agent's jars/endorsed directory, rather than placing it in the Resources of the bundle.