Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

BaSyx / Documentation / Components / DataBridge / Features / Protocol Integration / Json Jackson

Json Jackson

The Json Jackson transformer can be integrated with DataBridge. Jackson is a Data Format that uses the Jackson Library.

Configuration

To configure Json Jackson transformer in DataBridge you need to provide the unique id, the operation you want to perform, and Jackson modules.

Sample Configuration

[
	{
		"uniqueId": "dataValueToJson",
		"operation": "marshal",
		"jacksonModules": "com.fasterxml.jackson.datatype.jsr310.JavaTimeModule"
	}
]

For other Jackson modules please refer Jackson Modules.

Disclaimer: Please use only fully qualified name (FQN) in the jacksonModules.

To use custom Jackson modules com.fasterxml.jackson.databind.Module specified as a String with FQN class names. Multiple classes can be separated by comma. Refer Jackson Options

Naming Convention

The name of the Json Jackson configuration file should be jsonjacksontransformer.json.

Working Example

The integration example with timer triggered OPC UA as a data source, with two transformers JSONata and Json Jackson, and AAS as a data sink is on GitHub DataBridge Example.

Back to the top