| Package | Description |
|---|---|
| ratpack.jackson |
Integration with the Jackson JSON marshalling library.
|
| ratpack.parse |
Parsing in Ratpack refers to deserializing a request body into a Java object of some type.
|
| Modifier and Type | Method and Description |
|---|---|
static Parser<NullParseOpts> |
Jackson.Init.noOptParser()
The no-opts parser.
|
protected Parser<NullParseOpts> |
JacksonModule.noOptParser() |
| Modifier and Type | Method and Description |
|---|---|
static <T> Parse<T,NullParseOpts> |
Parse.of(Class<T> type)
Creates a parse object, with a
NullParseOpts options object. |
static <T> Parse<T,NullParseOpts> |
Parse.of(TypeToken<T> type)
Creates a parse object, with a
NullParseOpts options object. |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
NoOptParserSupport.parse(Context context,
TypedData requestBody,
Parse<T,NullParseOpts> parse)
Delegates to
NoOptParserSupport.parse(ratpack.handling.Context, ratpack.http.TypedData, TypeToken), discarding the opts object of the given parse. |