public class ReflectUtil extends Object
JSONConfig.setReflectionPrivacy(int) and
JSONConfigDefaults.setReflectionPrivacy(int)| Modifier and Type | Field and Description |
|---|---|
static int |
PACKAGE
Reflection will attempt to serialize package private, protected and
public fields or fields that have package private, protected or public
get methods that conform to JavaBean naming conventions.
|
static int |
PRIVATE
Reflection will attempt to serialize all fields including private.
|
static int |
PROTECTED
Reflection will attempt to serialize protected and public fields or
fields that have protected or public get methods that conform to JavaBean
naming conventions.
|
static int |
PUBLIC
Reflection will attempt to serialize only fields that are public or have
public get methods that conform to JavaBean naming conventions.
|
public static final int PRIVATE
public static final int PACKAGE
public static final int PROTECTED
public static final int PUBLIC
Copyright © 2016. All rights reserved.