hermes
hermes copied to clipboard
Allow serializing undefined in object literals
Summary:
Optional fields and fields that refer to other classes are initialised
to undefined
, which means that we often end up with undefined
in
literals now.
To address this, add the ability to serialize undefined, at the expense
of eliminating the ByteString
tag.
Differential Revision: D45014095