com.intuit.ipp.serialization.custom.ReportNameEnumJsonSerializer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ipp-v3-java-devkit Show documentation
Show all versions of ipp-v3-java-devkit Show documentation
IPP Java V3 DevKit Project - Core
//package com.intuit.ipp.serialization.custom;
//
//import java.io.IOException;
//
//import org.codehaus.jackson.JsonGenerator;
//import org.codehaus.jackson.map.JsonSerializer;
//import org.codehaus.jackson.map.SerializerProvider;
//
//import com.intuit.ipp.data.ReportNameEnum;
//
///**
// * Custom JsonSerializer for reading ReportNameEnum values
// *
// */
//public class ReportNameEnumJsonSerializer extends JsonSerializer {
//
// /**
// * {@inheritDoc}
// */
// @Override
// public void serialize(ReportNameEnum value, JsonGenerator jgen, SerializerProvider provider) throws IOException {
// jgen.writeString(value.value());
// }
//
//}