pub fn new(
        reader: R,
        schema: Arc<Schema>,
        batch_size: usize,
        projection: Option<Vec<String>>,
    ) -> Self {
        Self::from_buf_reader(BufReader::new(reader), schema, batch_size, projection)
    }
/// Create a new JSON Reader from any value that implements the `Read` trait.
///
/// If reading a `File`, you can customise the Reader, such as to enable schema
/// inference, use `ReaderBuilder`.
Create a new JSON Reader from any value that implements the `Read` trait.
If reading a `File`, you can customise the Reader, such as to enable schema
inference, use `ReaderBuilder`.
Create a new JSON Reader from any value that implements the ` Read ` trait . If reading a ` File ` you can customise the Reader such as to enable schema inference use ` ReaderBuilder ` .
pub fn new(
        reader: R,
        schema: Arc<Schema>,
        batch_size: usize,
        projection: Option<Vec<String>>,
    ) -> Self {
        Self::from_buf_reader(BufReader::new(reader), schema, batch_size, projection)
    }
pub fn new ( reader : R , schema : Arc < Schema > , batch_size : usize , projection : Option < Vec < String > > , ) -> Self { Self :: from_buf_reader ( BufReader :: new ( reader ) , schema , batch_size , projection ) }
Create a new JSON Reader from any value that implements the `Read` trait.
Create a new JSON Reader from any value that implements the ` Read ` trait .
reader
R
schema
Arc<Schema>
batch_size
usize
projection
Option<Vec<String>>