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.n52.tamis.core.json.serialize.processes.execute.ExtendedExecuteHttpPostBodySerializer.java

/**
 * Serializes an instance of {@link Execute_HttpPostBody} into an extended
 * version that can be used as HTTP POST request body for an execute request
 * against the WPS proxy.
 * 
 * @author Christian Danowski (contact: c.danowski@52north.org)

From source file com.samlikescode.stackoverflow.questions.q31034850.ParentSerializer.java

public class ParentSerializer extends JsonSerializer<Parent> {
    @Override
    public void serialize(Parent value, JsonGenerator gen, SerializerProvider serializers) throws IOException {
    }
}

From source file com.samlikescode.stackoverflow.questions.q31034850.InsecureChildSerializer.java

public class InsecureChildSerializer extends JsonSerializer<Child> {
    @Override
    public void serialize(Child value, JsonGenerator gen, SerializerProvider serializers) throws IOException {

    }
}

From source file com.samlikescode.stackoverflow.questions.q31034850.SecureChildSerializer.java

/**
 * //todo(sb)
 */
public class SecureChildSerializer extends JsonSerializer<Child> {
    @Override
    public void serialize(Child value, JsonGenerator gen, SerializerProvider serializers) throws IOException {

From source file com.samlikescode.stackoverflow.questions.q30999663.DataSerializer.java

/**
 * //todo(sb)
 */
public class DataSerializer extends JsonSerializer<Data> {
    @Override
    public void serialize(Data data, JsonGenerator jg, SerializerProvider serializers) throws IOException {

From source file com.samlikescode.stackoverflow.questions.q31034850.IsSecureChildSerializer.java

public class IsSecureChildSerializer extends JsonSerializer<Child> {
    private static final SecureChildSerializer SECURE_CHILD_SERIALIZER = new SecureChildSerializer();
    private static final InsecureChildSerializer INSECURE_CHILD_SERIALIZER = new InsecureChildSerializer();

    @Override
    public void serialize(Child value, JsonGenerator gen, SerializerProvider serializers) throws IOException {

From source file org.mycontroller.standalone.api.jaxrs.mixins.ExternalServerMixin.java

class ExternalServerTableSerializer extends JsonSerializer<ExternalServerTable> {
    @Override
    public void serialize(ExternalServerTable externalServerTable, JsonGenerator jgen, SerializerProvider provider)
            throws IOException, JsonProcessingException {
        if (externalServerTable != null) {
            RestUtils.getObjectMapper().writeValue(jgen,

From source file de.fraunhofer.iosb.ilt.sta.serialize.EntitySerializer.java

/**
 * Handles serialization of Entity objects. If a field is of type Entity and
 * contains a non-empty navigationLink the field will be renamed with the suffix
 * '@iot.navigationLink' and will only contain the navigationLink as String.
 *
 * @author jab

From source file org.mycontroller.standalone.api.jaxrs.mixins.GatewayMixin.java

class GatewayTableSerializer extends JsonSerializer<GatewayTable> {
    @Override
    public void serialize(GatewayTable gatewayTable, JsonGenerator jgen, SerializerProvider provider)
            throws IOException, JsonProcessingException {
        if (gatewayTable != null) {
            RestUtils.getObjectMapper().writeValue(jgen, GatewayUtils.getGateway(gatewayTable));

From source file org.mycontroller.standalone.api.jaxrs.mixins.OperationMixin.java

class OperationTableSerializer extends JsonSerializer<OperationTable> {
    @Override
    public void serialize(OperationTable operationTable, JsonGenerator jgen, SerializerProvider provider)
            throws IOException, JsonProcessingException {
        if (operationTable != null) {
            RestUtils.getObjectMapper().writeValue(jgen, OperationUtils.getOperation(operationTable));