/*
 * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
 * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */

/*
 * $Id$
 */

package com.sun.ts.tests.jsonb.api.model;

import javax.json.bind.serializer.JsonbSerializer;
import javax.json.bind.serializer.SerializationContext;
import javax.json.stream.JsonGenerator;

public class SimpleIntegerSerializer implements JsonbSerializer<Integer> {
    @Override
    public void serialize(Integer i, JsonGenerator jsonGenerator, SerializationContext serializationContext) {
        serializationContext.serialize(i, jsonGenerator);
    }
}
