Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 1.32 KB

deserialization.java.markdown

File metadata and controls

31 lines (19 loc) · 1.32 KB

Conventions: Serialization

##Customize ObjectMapper

If you need to customize Jackson ObjectMapper object used by the client when sending entities to the server you can access and modify its instance:

{CODE:java customize_object_mapper@ClientApi\Configuration\Serialization.java /}

##Numbers (de)serialization

RavenDB client supports out of the box all common numeric value types: int, long, double etc.
Note that although the (de)serialization of decimals is fully supported, there are server side limitations to numbers in that range.
Other number types like BigInteger must be treated using custom (de)serialization.

Related articles

Conventions

Document Identifiers

Document Store