Struct jsonc_parser::ParseOptions
source · pub struct ParseOptions {
pub allow_comments: bool,
pub allow_loose_object_property_names: bool,
pub allow_trailing_commas: bool,
}
Expand description
Options for parsing.
Fields§
§allow_comments: bool
Allow comments (defaults to true
).
allow_loose_object_property_names: bool
Allow words and numbers as object property names (defaults to true
).
allow_trailing_commas: bool
Allow trailing commas on object literal and array literal values (defaults to true
).
Trait Implementations§
source§impl Clone for ParseOptions
impl Clone for ParseOptions
source§fn clone(&self) -> ParseOptions
fn clone(&self) -> ParseOptions
Returns a copy 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 moreAuto Trait Implementations§
impl RefUnwindSafe for ParseOptions
impl Send for ParseOptions
impl Sync for ParseOptions
impl Unpin for ParseOptions
impl UnwindSafe for ParseOptions
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