"...", data: ....1TB of data }
Is there a way with serde_json to deserialize only the title value without loading the entire large file into memory?
You just need a streaming parser
If it is fixed then you can try loading it in chunks? (I'm neither a proficient rust/any lang dev nor do I know exactly how serde works but I figured this would work)
this should work for you https://docs.rs/serde_json/latest/serde_json/fn.from_reader.html
Looks like this is what I need
Обсуждают сегодня