com.fasterxml.jackson.databind.annotation.JsonSerialize.java Source code

Java tutorial

Introduction

Here is the source code for com.fasterxml.jackson.databind.annotation.JsonSerialize.java

Source

package com.fasterxml.jackson.databind.annotation;

import com.fasterxml.jackson.databind.JsonSerializer;
import java.lang.annotation.Annotation;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target({ java.lang.annotation.ElementType.ANNOTATION_TYPE, java.lang.annotation.ElementType.METHOD,
        java.lang.annotation.ElementType.FIELD, java.lang.annotation.ElementType.TYPE,
        java.lang.annotation.ElementType.PARAMETER })
public @interface JsonSerialize {
    public abstract Class<?> as();

    public abstract Class<?> contentAs();

    public abstract Class<? extends JsonSerializer<?>> contentUsing();

    @Deprecated
    public abstract Inclusion include();

    public abstract Class<?> keyAs();

    public abstract Class<? extends JsonSerializer<?>> keyUsing();

    public abstract Typing typing();

    public abstract Class<? extends JsonSerializer<?>> using();

    public static enum Inclusion {
static
{
  NON_DEFAULT = new Inclusion("NON_DEFAULT", 2);
  NON_EMPTY = new Inclusion("NON_EMPTY", 3);
  Inclusion[] arrayOfInclusion = new Inclusion[4];
  arrayOfInclusion[0] = ALWAYS;
  arrayOfInclusion[1] = NON_NULL;
  arrayOfInclusion[2] = NON_DEFAULT;
  arrayOfInclusion[3] = NON_EMPTY;
}
    }

    public static enum Typing {
static
{
  Typing[] arrayOfTyping = new Typing[2];
  arrayOfTyping[0] = DYNAMIC;
  arrayOfTyping[1] = STATIC;
}
    }
}

/* Location:           /Users/dantheman/src/fffffffffattttt/basis/classes_dex2jar.jar
 * Qualified Name:     com.fasterxml.jackson.databind.annotation.JsonSerialize
 * JD-Core Version:    0.6.2
 */