Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support complex keys in mappings #24

Open
kpodsiad opened this issue Jul 21, 2021 · 1 comment
Open

Support complex keys in mappings #24

kpodsiad opened this issue Jul 21, 2021 · 1 comment
Labels
feature New feature or request

Comments

@kpodsiad
Copy link
Contributor

Currently, we assume that the mapping node consists of (scalar node, node) pairs, but YAML spec allows complex keys to be used (AFAIK it could be arbitrary YAML node) in mappings.

@kpodsiad kpodsiad self-assigned this Sep 18, 2021
@kpodsiad kpodsiad removed their assignment Oct 18, 2021
@lbialy lbialy added the feature New feature or request label May 10, 2024
@lbialy
Copy link
Contributor

lbialy commented May 10, 2024

for reference, this looks like a bit more esoteric feature, I've tried to parse an example from spec with few online yaml parsers, only this one worked: https://jsonformatter.org/yaml-parser

? - Detroit Tigers
  - Chicago cubs
:
  - 2001-07-23

? [ New York Yankees,
    Atlanta Braves ]
: [ 2001-07-02, 2001-08-12,
    2001-08-14 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants