public enum JsonMode extends Enum<JsonMode>
| Enum Constant and Description |
|---|
SERIALIZE_WRITE_NO_NULLS
写入模式(默认值)
json对象为空的属性,不会写入到数据库中
|
SERIALIZE_WRITE_NULLS
写入模式
json对象为空的属性,会写入到数据库中
|
| Modifier and Type | Method and Description |
|---|---|
static JsonMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonMode SERIALIZE_WRITE_NULLS
public static final JsonMode SERIALIZE_WRITE_NO_NULLS
public static JsonMode[] values()
for (JsonMode c : JsonMode.values()) System.out.println(c);
public static JsonMode 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 © 2024–2025 Dynamic-SQL. All rights reserved.