preserve_spaces property

JsonDataLoadOptions.preserve_spaces property

Gets or sets a flag indicating whether leading and trailing spaces should be preserved when loading string values of JSON data.

@property
def preserve_spaces(self) -> bool:
    ...

@preserve_spaces.setter
def preserve_spaces(self, value: bool):
    ...

Remarks

The default value is False.

See Also