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
- EntityProviderException
public 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
- EntityProviderException
public List<?> readCollection(com.google.gson.stream.JsonReader reader, org.apache.olingo.odata2.core.ep.aggregator.EntityPropertyInfo propertyInfo, DeserializerProperties readProperties) throws EntityProviderException
reader
- propertyInfo
- readProperties
- EntityProviderException
protected Object readPropertyValue(com.google.gson.stream.JsonReader reader, org.apache.olingo.odata2.core.ep.aggregator.EntityPropertyInfo entityPropertyInfo, Object typeMapping, DeserializerProperties readProperties) throws EntityProviderException
EntityProviderException
protected void readAndCheckTypeInfo(com.google.gson.stream.JsonReader reader, String expectedTypeName) throws IOException, EntityProviderException
IOException
EntityProviderException
Copyright © 2013-2022 The Apache Software Foundation. All Rights Reserved.