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