[android-components](../../index.md) / [org.mozilla.telemetry.serialize](../index.md) / [TelemetryPingSerializer](index.md) / [serialize](./serialize.md)

# serialize

`abstract fun serialize(ping: `[`TelemetryPing`](../../org.mozilla.telemetry.ping/-telemetry-ping/index.md)`): `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/service/telemetry/src/main/java/org/mozilla/telemetry/serialize/TelemetryPingSerializer.java#L10)