Serializer - DataDog/dd-sdk-android GitHub Wiki

interface Serializer<T : Any>

An interface which can transform an object of type T into a formatted String.

Inheritors

MapperSerializer

Types

Serializer.Companion

Functions

serialize

abstract fun serialize(model: T): String?

Serializes the data into a String.

Return

the String representing the data or null if any exception occurs