Uses of Class
com.sun.faces.util.Json.Option
Package | Description |
---|---|
com.sun.faces.util |
-
Uses of Json.Option in com.sun.faces.util
Methods in com.sun.faces.util that return Json.Option Modifier and Type Method 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.Methods in com.sun.faces.util with parameters of type Json.Option Modifier and Type Method 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.