Future<void> Function(IOSink) jsonEncodeAsyncForIOSink(Object? data) { return (IOSink ioSink) => jsonEncodeAsync(data, ioSink); }