Example usage for com.fasterxml.jackson.databind JsonSerializer subclass-usage

List of usage examples for com.fasterxml.jackson.databind JsonSerializer subclass-usage

Introduction

In this page you can find the example usage for com.fasterxml.jackson.databind JsonSerializer subclass-usage.

Usage

From source file org.moserp.common.json_schema.BigDecimalWrapperSerializer.java

public class BigDecimalWrapperSerializer extends JsonSerializer<BigDecimalWrapper> {
    @Override
    public void serialize(BigDecimalWrapper value, JsonGenerator gen, SerializerProvider serializers)
            throws IOException, JsonProcessingException {
        gen.writeString(value.stringValue());
    }

From source file ijfx.service.workflow.json.FileSerializer.java

/**
 *
 * @author Cyril MONGIS, 2015
 */
public class FileSerializer extends JsonSerializer<File> {

From source file org.mycontroller.standalone.api.jaxrs.mixins.serializers.PyTypeSerializer.java

/**
 * @author Jeeva Kandasamy (jkandasa)
 * @since 0.0.3
 */
@JsonSerialize(using = PyTypeSerializer.class)
public class PyTypeSerializer extends JsonSerializer<PyType> {

From source file com.googlecode.wickedcharts.highcharts.jackson.CenterSerializer.java

public class CenterSerializer extends JsonSerializer<Center> {

    @Override
    public void serialize(final Center value, final JsonGenerator jgen, final SerializerProvider provider)
            throws IOException, JsonProcessingException {

From source file org.openscoring.common.OpTypeSerializer.java

@GwtIncompatible(value = "OpTypeSerializer")
public class OpTypeSerializer extends JsonSerializer<OpType> {

    @Override
    public void serialize(OpType opType, JsonGenerator generator, SerializerProvider provider)
            throws IOException, JsonProcessingException {

From source file org.openscoring.common.DataTypeSerializer.java

@GwtIncompatible(value = "DataTypeSerializer")
public class DataTypeSerializer extends JsonSerializer<DataType> {

    @Override
    public void serialize(DataType dataType, JsonGenerator generator, SerializerProvider provider)
            throws IOException, JsonProcessingException {

From source file com.tilab.fiware.metaware.dao.impls.mongodb.core.ObjectIdSerializer.java

/**
 * JSON serialization class for ObjectId. This customization is used for make the serialization of
 * the ObjectId as a "normal string", instead of full serialization with timestamp and date.
 *
 * @author Marco Terrinoni marco.terrinoni at consoft.it
 */

From source file org.bozzo.ipplan.web.json.ApiErrorSerializer.java

/**
 * @author boris
 *
 */
public class ApiErrorSerializer extends JsonSerializer<ApiError> {

From source file org.openscoring.common.MiningFunctionSerializer.java

@GwtIncompatible(value = "MiningFunctionSerializer")
public class MiningFunctionSerializer extends JsonSerializer<MiningFunction> {

    @Override
    public void serialize(MiningFunction miningFunction, JsonGenerator generator, SerializerProvider provider)
            throws IOException, JsonProcessingException {

From source file ch.ralscha.extdirectspring.util.MapActionSerializer.java

public class MapActionSerializer extends JsonSerializer<Map<String, List<Action>>> {

    @Override
    public void serialize(Map<String, List<Action>> value, JsonGenerator jgen, SerializerProvider provider)
            throws IOException {
        if (null != value) {