fn pieces(s: &str) -> Result<Vec<&str>, String>
The comma-separated pieces inside one [...] or {...}, as slices.
[...]
{...}