pub struct JsonRepairOptions {
pub return_objects: bool,
pub skip_json_loads: bool,
pub logging: bool,
pub ensure_ascii: bool,
pub stream_stable: bool,
pub chunk_length: usize,
pub indent: Option<usize>,
}Expand description
Configuration options for JSON repair
Fields§
§return_objects: boolReturn parsed objects instead of JSON string
skip_json_loads: boolSkip calling standard JSON parser first
logging: boolEnable repair logging
ensure_ascii: boolEnsure ASCII output (escape non-ASCII characters)
stream_stable: boolKeep repair results stable for streaming JSON
chunk_length: usizeChunk length for file processing
indent: Option<usize>Indentation for output
Trait Implementations§
Source§impl Clone for JsonRepairOptions
impl Clone for JsonRepairOptions
Source§fn clone(&self) -> JsonRepairOptions
fn clone(&self) -> JsonRepairOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for JsonRepairOptions
impl Debug for JsonRepairOptions
Source§impl Default for JsonRepairOptions
impl Default for JsonRepairOptions
Source§fn default() -> JsonRepairOptions
fn default() -> JsonRepairOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for JsonRepairOptions
impl RefUnwindSafe for JsonRepairOptions
impl Send for JsonRepairOptions
impl Sync for JsonRepairOptions
impl Unpin for JsonRepairOptions
impl UnsafeUnpin for JsonRepairOptions
impl UnwindSafe for JsonRepairOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more