serialize

abstract fun serialize(value: T): String?

Serializes a value of type T to a string representation for command-line usage.

Return

The string representation of the value, or null if the value shouldn't be included

Parameters

value

The value to serialize