Package groovy.json
package groovy.json
-
Interface SummaryInterfaceDescriptionGenerates JSON from objects.Handles converting a given type.This is the parser interface that backs the new JsonSlurper.
-
Class SummaryClassDescriptionA JsonGenerator that can be configured with various
JsonGenerator.Options
.A converter that handles converting a given type using a closure.A builder for creating JSON payloads.Utility class used as delegate of closures representing JSON objects.A builder used to construct aJsonGenerator
instance that allows control over the serialized JSON output.The lexer reads JSON tokens in a streaming fashion from the underlying reader.Class responsible for the actual String serialization of the possible values of a JSON structure.Represents unescaped JSONThis has the same interface as the original JsonSlurper written for version 1.8.0, but its implementation has completely changed.This is the original slurper included in case someone relies on its exact behavior.A JSON token, with a type, line / column information, and the text of that token.A builder for creating JSON payloads.The delegate used when invoking closuresEscapes and unescapesString
s for Java, Java Script, HTML, XML, and SQL. -
Enum SummaryEnumDescriptionAllows selection of parser type for new new JsonSlurper.The original slurper and lexer use this class.
-
Exception SummaryExceptionDescription
JsonException
is the exception thrown by the JSON builder and slurper classes, whenever a problem occurs when creating or parsing JSON data structures.