InstantJsonSettings
Settings for InstantJson. Values fall back through three levels: document → SDK → built-in default. Writes target the document only when set on a document’s settings, otherwise the SDK globally when set on SdkSettings.
Tags: Format
from nutrient_sdk import InstantJsonSettingsConstruction
InstantJsonSettings is accessed through a Document instance for per-document overrides, or via SdkSettings for SDK-wide defaults.
# Per-document overridewith Document.open("input.pdf") as doc: settings = doc.settings.instant_json_settings settings.some_field = new_value # mutate fields directly
# SDK-wide default (applies to all documents)SdkSettings.instant_json_settings.some_field = new_valueSettings are configured by writing to fields on the returned object. The settings property itself cannot be reassigned — doc.settings.instant_json_settings = other_settings is rejected.
Properties
render_theme
@propertydef render_theme(self) -> InstantJsonRenderTheme
@render_theme.setterdef render_theme(self, value: InstantJsonRenderTheme) -> NoneThe annotation appearance theme to use when importing Instant JSON.
Type: InstantJsonRenderTheme
Default: InstantJsonRenderTheme.Default