Class InterledgerObjectMapper

java.lang.Object
io.fliqa.client.interledger.InterledgerObjectMapper

public class InterledgerObjectMapper extends Object
Wrapper around ObjectMapper to provide default mapping and catch serialization/deserialization exceptions We have two mappers: - mapper - standard mapper - unwrapMapper - deserializes content of root JSON element
  • Constructor Details

    • InterledgerObjectMapper

      public InterledgerObjectMapper()
      Constructs a new InterledgerObjectMapper instance by initializing two ObjectMapper objects:

      1. A default ObjectMapper, configured via the get() method. 2. An unwrap-specific ObjectMapper, configured via the getUnwrapMapper() method.

      These mappers are used for JSON serialization and deserialization, providing preconfigured behavior such as support for Instant handling, consistent map entry ordering, and additional unwrap functionality.

  • Method Details