Struct reductionml_core::parsers::DsJsonParser
source · pub struct DsJsonParser { /* private fields */ }
Implementations§
source§impl DsJsonParser
impl DsJsonParser
pub fn handle_features( &self, features: &mut SparseFeatures, object_key: &str, json_value: &Value, namespace_stack: &mut Vec<Namespace> )
Trait Implementations§
source§impl TextModeParser for DsJsonParser
impl TextModeParser for DsJsonParser
fn get_next_chunk( &self, input: &mut dyn BufRead, output_buffer: String ) -> Result<Option<String>>
fn parse_chunk<'a, 'b>( &self, chunk: &'a str ) -> Result<(Features<'b>, Option<Label>)>
fn extract_feature_names<'a>( &self, _chunk: &'a str ) -> Result<HashMap<ParsedNamespaceInfo<'a>, Vec<ParsedFeature<'a>>>>
Auto Trait Implementations§
impl !RefUnwindSafe for DsJsonParser
impl Send for DsJsonParser
impl Sync for DsJsonParser
impl Unpin for DsJsonParser
impl !UnwindSafe for DsJsonParser
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