public static enum Json.Option extends Enum<Json.Option>
Enum Constant and Description |
---|
SKIP_NULL_VALUES
Skip null values in arrays, collections, maps and beans.
|
USE_RFC1123_DATE
Format dates as RFC1123 via
DateTimeFormatter.RFC_1123_DATE_TIME . |
Modifier and Type | Method and Description |
---|---|
static Json.Option |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Json.Option[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Json.Option SKIP_NULL_VALUES
public static final Json.Option USE_RFC1123_DATE
DateTimeFormatter.RFC_1123_DATE_TIME
.
This may improve compatibility with older web browsers.public static Json.Option[] values()
for (Json.Option c : Json.Option.values()) System.out.println(c);
public static Json.Option 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 nullComments to: faces-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation. All rights reserved.
Use is subject to license terms.