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

com.alibaba.fastjson2.adapter.jackson.databind.JsonSerializable Maven / Gradle / Ivy

There is a newer version: 2.0.26
Show newest version
package com.alibaba.fastjson2.adapter.jackson.databind;

import com.alibaba.fastjson2.adapter.jackson.core.JsonGenerator;
import com.alibaba.fastjson2.adapter.jackson.databind.jsontype.TypeSerializer;

import java.io.IOException;

public interface JsonSerializable {
    void serialize(JsonGenerator gen, SerializerProvider serializers) throws IOException;

    void serializeWithType(
            JsonGenerator gen,
            SerializerProvider serializers,
            TypeSerializer typeSer
    ) throws IOException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy