REST API Update: Removal of empty JSON key/value pairs

We are making an important change on our REST API: Empty JSON key/value pairs will no longer be transmitted. The change is available in Testnet already. It will be deployed to production on 14 Dec 2023 at 03:00 UTC.

What’s Changing?

The REST API does not transmit empty JSON key/value pairs in replies to GET requests. An empty JSON key/value pair is a pair whose value is null (absent).

Examples of JSON null equivalents:

JSON Data Type Null Equivalent
string “”
timestamp “2000-01-01T00:00:00.000Z”
duration “2000-01-01T00:00:00.000Z”
uuid “00000000-0000-0000-0000-000000000000”

What should I change?

Implementations should ensure that appropriate defaults are used, if presence of a null field in the JSON message is required. 

 

If you have any questions about these upcoming changes, please contact Support.

To be the first to know about new listings, product launches, promotions or other updates we invite you to join one of our communities and follow us on Twitter or check our blog regularly.