public class OFMatchJSONSerializer extends org.codehaus.jackson.map.JsonSerializer<OFMatch>
Constructor and Description |
---|
OFMatchJSONSerializer() |
Modifier and Type | Method and Description |
---|---|
Class<OFMatch> |
handledType()
Tells SimpleModule that we are the serializer for OFMatch
|
void |
serialize(OFMatch match,
org.codehaus.jackson.JsonGenerator jGen,
org.codehaus.jackson.map.SerializerProvider serializer)
Performs the serialization of a OFMatch object
|
public void serialize(OFMatch match, org.codehaus.jackson.JsonGenerator jGen, org.codehaus.jackson.map.SerializerProvider serializer) throws IOException, org.codehaus.jackson.JsonProcessingException
serialize
in class org.codehaus.jackson.map.JsonSerializer<OFMatch>
IOException
org.codehaus.jackson.JsonProcessingException
Copyright © 2015. All rights reserved.