Class DocumentResponse
java.lang.Object
ai.docling.serve.api.convert.response.DocumentResponse
A simple mutable POJO representing the converted document returned by the
Docling Convert API. The properties map 1:1 to the JSON payload using the
JsonProperty names declared on each field.
Serialization is configured with JsonInclude.Include.NON_EMPTY,
meaning nulls, empty strings, and empty collections/maps are omitted from the
serialized JSON.
Notes on mutability and maps:
jsonContentdefaults to an empty map and is never exposed asnull. The getter returns an unmodifiable view.- When setting
jsonContentwith a non-null map, the reference is preserved; subsequent external modifications to the provided map are observable viagetJsonContent().