@groovy.transform.CompileStatic class JsonDataBindingSourceCreator extends AbstractRequestBodyDataBindingSourceCreator
Creates DataBindingSource objects from JSON in the request body
| Modifiers | Name | Description |
|---|---|---|
class |
JsonDataBindingSourceCreator.1 |
| Modifiers | Name | Description |
|---|---|---|
private static java.util.regex.Pattern |
INDEX_PATTERN |
|
private groovy.json.JsonSlurper |
jsonSlurper |
| Fields inherited from class | Fields |
|---|---|
class AbstractRequestBodyDataBindingSourceCreator |
ignoredRequestBodyMethods |
| Type | Name and description |
|---|---|
groovy.json.JsonSlurper |
jsonSlurper |
| Constructor and description |
|---|
JsonDataBindingSourceCreator
() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
protected DataBindingSource |
createBindingSource(java.io.Reader reader) |
|
protected DataBindingSourceCreationException |
createBindingSourceCreationException(java.lang.Exception e) |
|
protected CollectionDataBindingSource |
createCollectionBindingSource(java.io.Reader reader) |
|
DataBindingSource |
createDataBindingSource(MimeType mimeType, java.lang.Class bindingTargetType, java.lang.Object bindingSource) |
|
protected java.util.Map |
createJsonMap(java.lang.Object jsonElement) |
|
MimeType[] |
getMimeTypes() |
Groovy Documentation