Stream a specific element within JSON using Rust

Viewed 37

I'm wondering if there is a way to stream a specific JSON element from the data using Rust. I have experimented with serde json streaming but cannot get it to work correctly.

As an example the data would look like this:

{
    "name": i
    "data": [
        {"a": []},
        {"b": []},
        ....
    ]
}

And I wish to stream only the "data" element of the JSON file.

0 Answers
Related