Rovenue React Native SDK
Preparing search index...
serializeEnvelope
Function serializeEnvelope
serializeEnvelope
(
env
:
EventEnvelope
)
:
string
Serialise an EventEnvelope to a compact JSON string.
Strips
undefined
at the top level.
Strips
undefined
inside
identityContext
(if present).
Omits
identityContext
entirely when all its fields are
undefined
or when it was not supplied.
Parameters
env
:
EventEnvelope
Returns
string
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Rovenue React Native SDK
Loading...
Serialise an EventEnvelope to a compact JSON string.
undefinedat the top level.undefinedinsideidentityContext(if present).identityContextentirely when all its fields areundefinedor when it was not supplied.