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

Pass non mapping to base serializer #186

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

gabriel-samfira
Copy link
Member

@gabriel-samfira gabriel-samfira commented Feb 20, 2025

For PSObjects that are not dictionaries or PSCustomObjects, pass the object directly to the base serializer.

It seems that the ConvertFrom-Json commandlet wraps all objects within a list in a PSObject.

Fixes: #185
Fixes: #182

For PSObjects that are not dictionaries or PSCustomObjects, pass the
object directly to the base serializer.

Signed-off-by: Gabriel Adrian Samfira <[email protected]>
@gabriel-samfira gabriel-samfira force-pushed the fix-psobject-serialization branch from c2e85cf to 86bb4d6 Compare February 20, 2025 12:31
Signed-off-by: Gabriel Adrian Samfira <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant