Registry / serialization / jackson-databind-nullable

jackson-databind-nullable

JSON →
library0.2.10javamavenunverified

A Jackson module that supports fields with meaningful null values using JsonNullable wrapper.

<dependency> <groupId>org.openapitools</groupId> <artifactId>jackson-databind-nullable</artifactId> <version>0.2.10</version> </dependency>
INSTALL
IMPORT
SIG · JACKSON-DATABIND-N
J
jackson-databind-nullable
serializationjavav0.2.10
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

JsonNullable
✓ org.openapitools.jackson.nullable.JsonNullable

Registers the JsonNullable module and uses it.

import org.openapitools.jackson.nullable.JsonNullable; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.module.SimpleModule; public class Example { public static void main(String[] args) { ObjectMapper mapper = new ObjectMapper(); SimpleModule module = new SimpleModule(); module.addSerializer(JsonNullable.class, new JsonNullableSerializer()); mapper.registerModule(module); JsonNullable<String> nullable = JsonNullable.of("value"); System.out.println(nullable.isPresent()); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.10latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
jackson-databind-nullable — mvn dependency:get jackson-databind-nullable · libregistry