Struct arrow_json::writer::JsonArray
source · pub struct JsonArray {}
Expand description
Produces JSON output as a single JSON array.
For example:
[{"foo":1},{"bar":1}]
Trait Implementations§
source§impl JsonFormat for JsonArray
impl JsonFormat for JsonArray
source§fn start_stream<W: Write>(&self, writer: &mut W) -> Result<(), ArrowError>
fn start_stream<W: Write>(&self, writer: &mut W) -> Result<(), ArrowError>
write any bytes needed at the start of the file to the writer
source§fn start_row<W: Write>(
&self,
writer: &mut W,
is_first_row: bool,
) -> Result<(), ArrowError>
fn start_row<W: Write>( &self, writer: &mut W, is_first_row: bool, ) -> Result<(), ArrowError>
write any bytes needed for the start of each row
source§fn end_stream<W: Write>(&self, writer: &mut W) -> Result<(), ArrowError>
fn end_stream<W: Write>(&self, writer: &mut W) -> Result<(), ArrowError>
write any bytes needed for the start of each row
Auto Trait Implementations§
impl Freeze for JsonArray
impl RefUnwindSafe for JsonArray
impl Send for JsonArray
impl Sync for JsonArray
impl Unpin for JsonArray
impl UnwindSafe for JsonArray
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