com.fasterxml.jackson.module.afterburner.ser.IntFieldPropertyWriter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jackson-module-afterburner Show documentation
Show all versions of jackson-module-afterburner Show documentation
Jackson (https://github.com/FasterXML/jackson) extension module
used to enhance performance using bytecode generation to replace use of Reflection for
field access and method calls
package com.fasterxml.jackson.module.afterburner.ser;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.databind.JsonSerializer;
import com.fasterxml.jackson.databind.SerializerProvider;
import com.fasterxml.jackson.databind.ser.BeanPropertyWriter;
public final class IntFieldPropertyWriter
extends OptimizedBeanPropertyWriter
{
private static final long serialVersionUID = 1L;
private final int _suppressableInt;
private final boolean _suppressableIntSet;
public IntFieldPropertyWriter(BeanPropertyWriter src, BeanPropertyAccessor acc, int index,
JsonSerializer