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

JSON scripts (maybe others) should warn about using hashtable parsing in PowerShell before 7.3 #33

Closed
brianary opened this issue Feb 28, 2024 · 0 comments
Assignees

Comments

@brianary
Copy link
Owner

In PowerShell prior to 7.3, ConvertFrom-Json -AsHashtable returns an unordered hashtable, which can change the order of properties, leading to unexpected behavior. A warning should be printed anytime that parameter is used from PowerShell earlier than 7.3.

@brianary brianary self-assigned this Feb 28, 2024
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

1 participant