Configuring JSON Handling
|
Этот раздел перенесён из документации Camunda 7 и в дальнейшем будет доработан с учётом особенностей OpenBPM Engine |
Spin can be configured to change JSON parsing, writing and mapping settings, for example to tolerate documents that are not strictly compliant to the standard. Spin uses Jackson http://wiki.fasterxml.com/JacksonHome to handle JSON. The JSON data format therefore uses an instance of com.fasterxml.jackson.databind.ObjectMapper that can be configured using Spin’s configuration mechanism.
The data format class to register a configurator for is io.openbpm.spin.impl.json.jackson.format.JacksonJsonDataFormat. An instance of this class provides a setter for an ObjectMapper that can be used to replace the default object mapper. This logic goes into a configurator class that implements the interface io.openbpm.spin.spi.DataFormatConfigurator. Please refer to the Jackson’s documentation https://fasterxml.github.io/jackson-databind/javadoc/2.4/ on what configuration options are available.
Лицензия и атрибуция
Эта документация была создана на базе материала "Camunda 7 Docs" от Camunda, находится под лицензией Creative Commons Attribution-ShareAlike 3.0 Unported License .
Оригинал документации: https://docs.camunda.org