Creates DataBindingSource objects from JSON in the request body
Modifiers | Name | Description |
---|---|---|
class |
JsonDataBindingSourceCreator.JsonArrayList |
|
class |
JsonDataBindingSourceCreator.JsonObjectMap |
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 |
createJsonObjectMap(com.google.gson.JsonElement jsonElement) Returns a map for the given JsonElement. |
MimeType[] |
getMimeTypes() |
java.lang.Object |
getValueForJsonElement(com.google.gson.JsonElement value, com.google.gson.Gson gson) |
Returns a map for the given JsonElement. Subclasses can override to customize the format of the map
jsonElement
- The JSON element