public class JsonDeserializer extends Object implements ODataDeserializer
| Modifier and Type | Field and Description |
|---|---|
protected Pattern |
CUSTOM_ANNOTATION |
protected boolean |
serverMode |
| Constructor and Description |
|---|
JsonDeserializer(boolean serverMode) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getJSONAnnotation(String string) |
protected String |
getTitle(Map.Entry<String,com.fasterxml.jackson.databind.JsonNode> entry) |
protected void |
links(Map.Entry<String,com.fasterxml.jackson.databind.JsonNode> field,
Linked linked,
Set<String> toRemove,
com.fasterxml.jackson.databind.JsonNode tree,
com.fasterxml.jackson.core.ObjectCodec codec) |
protected void |
populate(Annotatable annotatable,
List<Property> properties,
com.fasterxml.jackson.databind.node.ObjectNode tree,
com.fasterxml.jackson.core.ObjectCodec codec) |
protected String |
setInline(String name,
String suffix,
com.fasterxml.jackson.databind.JsonNode tree,
com.fasterxml.jackson.core.ObjectCodec codec,
Link link) |
ResWrap<Entity> |
toEntity(InputStream input)
Gets an entity object from the given InputStream.
|
ResWrap<EntityCollection> |
toEntitySet(InputStream input)
Gets an entity set object from the given InputStream.
|
ODataError |
toError(InputStream input)
Gets the ODataError object represented by the given InputStream.
|
ResWrap<Property> |
toProperty(InputStream input)
Gets a property object from the given InputStream.
|
protected void |
value(Valuable valuable,
com.fasterxml.jackson.databind.JsonNode node,
com.fasterxml.jackson.core.ObjectCodec codec) |
protected final Pattern CUSTOM_ANNOTATION
protected final boolean serverMode
protected String setInline(String name, String suffix, com.fasterxml.jackson.databind.JsonNode tree, com.fasterxml.jackson.core.ObjectCodec codec, Link link) throws IOException
IOExceptionprotected void links(Map.Entry<String,com.fasterxml.jackson.databind.JsonNode> field, Linked linked, Set<String> toRemove, com.fasterxml.jackson.databind.JsonNode tree, com.fasterxml.jackson.core.ObjectCodec codec) throws IOException
IOExceptionprotected void populate(Annotatable annotatable, List<Property> properties, com.fasterxml.jackson.databind.node.ObjectNode tree, com.fasterxml.jackson.core.ObjectCodec codec) throws IOException, EdmPrimitiveTypeException
IOExceptionEdmPrimitiveTypeExceptionprotected void value(Valuable valuable, com.fasterxml.jackson.databind.JsonNode node, com.fasterxml.jackson.core.ObjectCodec codec) throws IOException, EdmPrimitiveTypeException
IOExceptionEdmPrimitiveTypeExceptionpublic ResWrap<EntityCollection> toEntitySet(InputStream input) throws ODataDeserializerException
ODataDeserializertoEntitySet in interface ODataDeserializerinput - stream to be de-serialized.EntityCollection instance.ODataDeserializerExceptionpublic ResWrap<Entity> toEntity(InputStream input) throws ODataDeserializerException
ODataDeserializertoEntity in interface ODataDeserializerinput - stream to be de-serialized.Entity instance.ODataDeserializerExceptionpublic ResWrap<Property> toProperty(InputStream input) throws ODataDeserializerException
ODataDeserializertoProperty in interface ODataDeserializerinput - stream to be de-serialized.ODataDeserializerExceptionpublic ODataError toError(InputStream input) throws ODataDeserializerException
ODataDeserializertoError in interface ODataDeserializerinput - stream to be parsed and de-serialized.ODataDeserializerExceptionCopyright © 2023. All rights reserved.