I am looking for a way of how to deserialize a yaml file like these one (a map): ``` key0: type: Foo connection: type: 1 key1: type: Bar connection: type: 2 ``` into a map<key, object> without having a "root" property like: ``` root: key0: type: Foo connection: type: 1 key1: type: Bar connection: type: 2 ``` \- would it be possible? Thank you!
I am looking for a way of how to deserialize a yaml file like these one (a map):
into a map<key, object> without having a "root" property like:
- would it be possible?
Thank you!