You are currently browsing legacy 4.0 version of documentation. Click here to switch to the newest 5.1 version.
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:
ObjectMapper entityMapper = conventions.getEntityMapper(); entityMapper.configure(SerializationFeature.FAIL_ON_EMPTY_BEANS, true);
RavenDB client supports out of the box all common numeric value types:
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.