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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure to parse JSON object where value matches an earlier key #31

Closed
sharwell opened this issue Jun 15, 2017 · 1 comment
Closed

Failure to parse JSON object where value matches an earlier key #31

sharwell opened this issue Jun 15, 2017 · 1 comment
Assignees

Comments

@sharwell
Copy link
Contributor

JsonValue.Parse will fail to parse the following:

{
  "x": "value",
  "value": "anything"
}

On a related note, the exception thrown for cases where the keys do collide is currently incorrect.

馃敆 Both issues above originally found in DotNetAnalyzers/StyleCopAnalyzers#2406

@MarcosLopezC
Copy link
Owner

This issue was fixed in commit bdf18f5.

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

No branches or pull requests

2 participants