abstract fun <T> stringifyToBytes(obj: T, serializer: KSerializer<T>): ByteArray
Stringify's JSON string to T object.
obj - the T object.
obj
serializer - the result data serializer.
serializer
Return the JSON string byte array