Class JsonSerializer
java.lang.Object
org.apache.olingo.client.core.serialization.JsonSerializer
- All Implemented Interfaces:
ODataSerializer
- Direct Known Subclasses:
JsonEntitySerializer,JsonEntitySetSerializer,JsonPropertySerializer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ContentTypeprotected final booleanprotected final booleanprotected final booleanprotected boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidclientLinks(Linked linked, com.fasterxml.jackson.core.JsonGenerator jgen) protected voidprotected voidprotected voidprimitiveValue(com.fasterxml.jackson.core.JsonGenerator jgen, EdmTypeInfo typeInfo, Object value) protected voidserverLinks(Linked linked, com.fasterxml.jackson.core.JsonGenerator jgen) protected void<T> void<T> void
-
Field Details
-
serverMode
protected boolean serverMode -
contentType
-
isIEEE754Compatible
protected final boolean isIEEE754Compatible -
isODataMetadataNone
protected final boolean isODataMetadataNone -
isODataMetadataFull
protected final boolean isODataMetadataFull
-
-
Constructor Details
-
JsonSerializer
-
-
Method Details
-
write
- Specified by:
writein interfaceODataSerializer- Throws:
ODataSerializerException
-
write
- Specified by:
writein interfaceODataSerializer- Throws:
ODataSerializerException
-
link
- Throws:
IOException
-
links
protected void links(Linked linked, com.fasterxml.jackson.core.JsonGenerator jgen) throws IOException, EdmPrimitiveTypeException - Throws:
IOExceptionEdmPrimitiveTypeException
-
clientLinks
protected void clientLinks(Linked linked, com.fasterxml.jackson.core.JsonGenerator jgen) throws IOException, EdmPrimitiveTypeException - Throws:
IOExceptionEdmPrimitiveTypeException
-
serverLinks
protected void serverLinks(Linked linked, com.fasterxml.jackson.core.JsonGenerator jgen) throws IOException, EdmPrimitiveTypeException - Throws:
IOExceptionEdmPrimitiveTypeException
-
primitiveValue
protected void primitiveValue(com.fasterxml.jackson.core.JsonGenerator jgen, EdmTypeInfo typeInfo, Object value) throws IOException, EdmPrimitiveTypeException - Throws:
IOExceptionEdmPrimitiveTypeException
-
valuable
protected void valuable(com.fasterxml.jackson.core.JsonGenerator jgen, Valuable valuable, String name) throws IOException, EdmPrimitiveTypeException - Throws:
IOExceptionEdmPrimitiveTypeException
-