android-components / mozilla.components.service.glean.storages / GenericScalarStorageEngine / serializeSingleMetric

# serializeSingleMetric

`protected fun serializeSingleMetric(value: ScalarType): String?` (source)

Implementor's provided function to serialized 'user' lifetime data to String.

### Parameters

`value` - loaded from the storage as ScalarType

Return
data as String or null if serialization failed