JsonStringOptions

class JsonStringOptions

Options for serialization writer to JSON strings

Members defined in JsonStringOptions (5 members)

final_new_line

RW

Whether to insert a final new line

include_cross_ref_uris

RW

If true, include document URIs in references if elements are referenced from other documents

indent

RW

Number of indents to indent nesting with

use_spaces

RW

Whether to use spaces for indenting

__init__

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
Used in