Package | Description |
---|---|
com.sun.faces.util |
Modifier and Type | Method and Description |
---|---|
static Json.Option |
Json.Option.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Json.Option[] |
Json.Option.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static String |
Json.encode(Object object,
Json.Option... options)
Encodes the given object as JSON and returns a string in JSON format.
|
static void |
Json.encode(Object object,
Writer writer,
Json.Option... options)
Encodes the given object as JSON while streaming the string in JSON format to the given writer.
|
Comments to: faces-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation. All rights reserved.
Use is subject to license terms.