com.fitbur.fasterxml.jackson.databind.ser.impl.ObjectIdWriter Maven / Gradle / Ivy
package com.fitbur.fasterxml.jackson.databind.ser.impl;
import com.fitbur.fasterxml.jackson.annotation.ObjectIdGenerator;
import com.fitbur.fasterxml.jackson.core.io.SerializedString;
import com.fitbur.fasterxml.jackson.databind.*;
/**
* Object that knows how to serialize Object Ids.
*/
public final class ObjectIdWriter
{
public final JavaType idType;
/**
* Name of id property to write, if not null: if null, should
* only write references, but id property is handled by some
* other entity.
*/
public final SerializedString propertyName;
/**
* Blueprint generator instance: actual instance will be
* fetched from {@link SerializerProvider} using this as
* the key.
*/
public final ObjectIdGenerator> generator;
/**
* Serializer used for serializing id values.
*/
public final JsonSerializer
© 2015 - 2024 Weber Informatics LLC | Privacy Policy