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

Implement JSON encoder provided by pyvmomi #287

Open
abhi1693 opened this issue Jun 22, 2022 · 0 comments
Open

Implement JSON encoder provided by pyvmomi #287

abhi1693 opened this issue Jun 22, 2022 · 0 comments

Comments

@abhi1693
Copy link
Contributor

In several places, the code breaks due to issues with serialization. My setup utilizes salt-api which returns the data as a JSON object. Most functions are unable to serialize the data and crash.

Example: vmware_datacenter.get

image

This issue can be avoided by adding the JSON serializer provided by pyvmomi. It was implemented at https://github.com/vmware/pyvmomi/pull/732/files and works well

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

1 participant