that would be an anonymous type and should really be supported in the language

you can simply deserialize for example json into an anon object and then access any members of it during runtime