-
-
Notifications
You must be signed in to change notification settings - Fork 404
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
[LitJSON.JsonMapper]::ToObject Error in Powershell #113
Comments
I will take this |
This is definitely an issue with Powershell. Powershell seems to be calling |
So see if it's even worth the effort what's the use case for |
The use case is simple: to be able to do the same thing ConvertFrom-Json and ConvertTo-Json does but in very old systems that only support Powershell V2 and don't have the necessary modules to even load the V2 version of it like this one: https://stackoverflow.com/questions/28077854/powershell-2-0-convertfrom-json-and-convertto-json-implementation I've encountered systems where nothing but LitJSON would work. OFC, this is not a very compelling argument in favor of spending dev time on this, but it depends on the reasonable expectations that old systems are still around :) |
Essentially, you can't use
[LitJSON.JsonMapper]::ToObject($WhatEverPSObject)
in Powershell from v2 to v5. We get error:This has been raised 6 years ago here: https://stackoverflow.com/questions/16799634/litjson-error-in-powershell
Regards
The text was updated successfully, but these errors were encountered: