Skip to content
This repository was archived by the owner on Nov 18, 2025. It is now read-only.
This repository was archived by the owner on Nov 18, 2025. It is now read-only.

How to deserialize yaml map? #26

@yolkhovyy

Description

@yolkhovyy

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions