Registry /
serialization / jackson-databind-nullable
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.
Audit
Dependencies
No dependency data recorded yet.