Skip to content

Commit

Permalink
api: JSON Discriminators for vim25/types
Browse files Browse the repository at this point in the history
This patch adds support to GoVmomi for marshaling/unmarshaling
the vim25/types (and other VMODL1 types) to/from JSON using:

* a customized version of the Golang encoding/json package that
  relies upon...
* a new discriminator field added to every every complex object
  marshaled to JSON, the "_typeName" field. this field's value
  must match the value of the type's registered type name from
  the type registry
  • Loading branch information
akutz committed Dec 15, 2022
1 parent 9920086 commit 4e6d642
Show file tree
Hide file tree
Showing 2 changed files with 1,297 additions and 0 deletions.
Loading

0 comments on commit 4e6d642

Please sign in to comment.