deserialize

abstract fun <T> deserialize(json: ByteArray, type: TypeRef<T>): T