How to parse json as not strongly typed strcture?

I know how to parse JSON in to a defined structure with Serialize and Deserialize attributes. But how can I process json tree without knowing structure of JSON in advance?

If you are familiar with Java or Scala, I am looking for analogy of Play Json, i.e. I would like to do in Rust something like the following in Scala: Scala Json - 2.4.x

You can deserialize to a serde_json::Value: serde_json::Value - Rust

1 Like

Great! Thanks, I was looking for this.