JsonStringOptions
- class JsonStringOptions
Options for serialization writer to JSON strings
Members defined in
JsonStringOptions(5 members)
RWWhether to insert a final new line
RWIf true, include document URIs in references if elements are referenced from other documents
RWNumber of indents to indent nesting with
RWWhether to use spaces for indenting
Attributes
- property final_new_line: bool
Whether to insert a final new line
- property include_cross_ref_uris: bool
If true, include document URIs in references if elements are referenced from other documents
- property indent: int
Number of indents to indent nesting with
- property use_spaces: bool
Whether to use spaces for indenting
Methods
- __init__(indent: int = 2, use_spaces: bool = True, final_new_line: bool = True, include_cross_ref_uris: bool = True) None