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

YAML parsing is not as expected #1024

Closed
RedCrazyGhost opened this issue Mar 2, 2024 · 2 comments
Closed

YAML parsing is not as expected #1024

RedCrazyGhost opened this issue Mar 2, 2024 · 2 comments

Comments

@RedCrazyGhost
Copy link

RedCrazyGhost commented Mar 2, 2024

In theory, data in json format should not be parsed into data in a structure.

image

This problem was discovered when I was writing gin test cases. (See Issue)

@adriant-ntc
Copy link

This sounds correct?

YAML (from 1.2 onward at least) is supposed to be a superset of JSON, so it makes sense that this would parse.

@RedCrazyGhost
Copy link
Author

That's right. I saw something similar at Red Hat
Red Hat - What is YAML?

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

No branches or pull requests

2 participants