Azure / azure-sdk-for-rust

This repository is for active development of the *unofficial* Azure SDK for Rust. This repository is *not* supported by the Azure SDK team.
MIT License
676 stars 231 forks source link

Define a `Value` type that can hold a vector of any type #1687

Open heaths opened 1 week ago

heaths commented 1 week ago

Basically, we want serde_json::Value but should either re-export it, wrap it (newtype), or just implement something similar that could work for JSON, XML, etc.

Open question - though we're leaning toward a Vec<Value> - is whether a TSP should dictate a Vec<Value> or a Value, which can be a Vec<Value>.