Package-level declarations
Types
Replicates Jackson's ACCEPT_FLOAT_AS_INT behaviour for Int fields. A floating-point JSON number is truncated to Int by dropping the fractional part, exactly like Jackson's default truncation behaviour.
Replicates Jackson's ACCEPT_FLOAT_AS_INT behaviour for Long fields. A floating-point JSON number is truncated to Long by dropping the fractional part, exactly like Jackson's default truncation behaviour.
Composable deserialize transformer that applies multiple Jackson-equivalent behaviours to specific fields by key. Pass only the sets you need; all default to empty (no-op).
Replicates Jackson's @JsonInclude(JsonInclude.Include.NON_EMPTY) behaviour. Strips null, empty strings, empty arrays, and empty objects from the serialized output. Requires the enclosing Json instance to have encodeDefaults = true, which is already in our default global Json instance.
Convenience serializer for nullable String fields that combines ACCEPT_EMPTY_STRING_AS_NULL_OBJECT with null passthrough. An empty JSON string ("") or JSON null is decoded as null.
Replicates Jackson's @JsonProperty(access = JsonProperty.Access.WRITE_ONLY) behaviour. Properties in keysToIgnore are deserialized normally but omitted from serialized output.