public enum FlattenMode extends Enum<FlattenMode>
FlattenMode lists all acceptable modes of the JsonFlattener.| Enum Constant and Description |
|---|
KEEP_ARRAYS
Flattens every objects except arrays.
|
MONGODB
Conforms to MongoDB dot.notation to update also nested documents.
|
NORMAL
Flattens every objects.
|
| Modifier and Type | Method and Description |
|---|---|
static FlattenMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FlattenMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FlattenMode NORMAL
public static final FlattenMode KEEP_ARRAYS
public static final FlattenMode MONGODB
public static FlattenMode[] values()
for (FlattenMode c : FlattenMode.values()) System.out.println(c);
public static FlattenMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2018. All rights reserved.