public class JsonPropertyDeserializer extends Object
| Constructor and Description |
|---|
JsonPropertyDeserializer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
readAndCheckTypeInfo(com.google.gson.stream.JsonReader reader,
String expectedTypeName) |
List<?> |
readCollection(com.google.gson.stream.JsonReader reader,
org.apache.olingo.odata2.core.ep.aggregator.EntityPropertyInfo propertyInfo,
DeserializerProperties readProperties)
This method reads through a collection of entities and deserializes each entry
|
Map<String,Object> |
readPropertyStandalone(com.google.gson.stream.JsonReader reader,
EdmProperty edmProperty,
DeserializerProperties readProperties)
Deserializes Property
|
Map<String,Object> |
readPropertyStandalone(com.google.gson.stream.JsonReader reader,
org.apache.olingo.odata2.core.ep.aggregator.EntityPropertyInfo propertyInfo,
DeserializerProperties readProperties)
Deserializes Property
|
protected Object |
readPropertyValue(com.google.gson.stream.JsonReader reader,
org.apache.olingo.odata2.core.ep.aggregator.EntityPropertyInfo entityPropertyInfo,
Object typeMapping,
DeserializerProperties readProperties) |
public Map<String,Object> readPropertyStandalone(com.google.gson.stream.JsonReader reader, EdmProperty edmProperty, DeserializerProperties readProperties) throws EntityProviderException
reader - edmProperty - readProperties - EntityProviderExceptionpublic Map<String,Object> readPropertyStandalone(com.google.gson.stream.JsonReader reader, org.apache.olingo.odata2.core.ep.aggregator.EntityPropertyInfo propertyInfo, DeserializerProperties readProperties) throws EntityProviderException
reader - propertyInfo - readProperties - EntityProviderExceptionpublic List<?> readCollection(com.google.gson.stream.JsonReader reader, org.apache.olingo.odata2.core.ep.aggregator.EntityPropertyInfo propertyInfo, DeserializerProperties readProperties) throws EntityProviderException
reader - propertyInfo - readProperties - EntityProviderExceptionprotected Object readPropertyValue(com.google.gson.stream.JsonReader reader, org.apache.olingo.odata2.core.ep.aggregator.EntityPropertyInfo entityPropertyInfo, Object typeMapping, DeserializerProperties readProperties) throws EntityProviderException
EntityProviderExceptionprotected void readAndCheckTypeInfo(com.google.gson.stream.JsonReader reader,
String expectedTypeName)
throws IOException,
EntityProviderException
IOExceptionEntityProviderExceptionCopyright © 2013-2022 The Apache Software Foundation. All Rights Reserved.