6929 shaares
A way to represent the either/or in JSON. Using enums that leads to empty objects. These empty objects can then be extended as needed.
A way to represent the either/or in JSON. Using enums that leads to empty objects. These empty objects can then be extended as needed.