Empty
This type has no fields.
This object is used for extensibility because booleans and enumerations often need to be extended with extra data. The implementer uses it to determine presence. The enumeration this represents may be extended to contain data in future versions.
The JSON representation for Empty
is empty JSON object {}
.
All rights reserved. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-16 UTC.
[null,null,["Last updated 2024-10-16 UTC."],[[["`Empty` objects are primarily used for extensibility and indicating presence rather than holding data."],["Though currently containing no fields, `Empty` objects allow for potential future data inclusion in extended versions."],["When represented in JSON format, `Empty` appears as an empty object: `{}`."]]],["The `Empty` object serves as a placeholder for extensibility, particularly for booleans and enumerations that might require additional data in the future. Implementers use it to check for presence. The represented enumeration can be expanded with new data in later versions. Its JSON representation is an empty object: `{}`. It has no fields and its main purpose is to allow for future data extensions.\n"]]