All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.datalbry.precise.serialization.jackson.PreciseMapper.kt Maven / Gradle / Ivy

There is a newer version: 0.0.11
Show newest version
package io.datalbry.precise.serialization.jackson

import com.fasterxml.jackson.databind.ObjectMapper
import io.datalbry.precise.api.schema.Schema

/**
 * Precise specific [ObjectMapper] with preconfigured options
 *
 * Precise is statically typed and requires a [Schema] for serialization*
 *
 * @param schema for precise to use
 */
class PreciseMapper(schema: Schema): ObjectMapper() {

    init {
        val preciseModule = PreciseModule(schema)
        this.registerModule(preciseModule)
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy