public static IGraphQLBuilder AddNewtonsoftJson(this IGraphQLBuilder builder, Action <JsonSerializerSettings, IServiceProvider>?action) => builder.AddDocumentWriter <DocumentWriter>().Configure(action);
public static IGraphQLBuilder AddSystemTextJson(this IGraphQLBuilder builder, Action <JsonSerializerOptions, IServiceProvider>?action) => builder.AddDocumentWriter <DocumentWriter>().Configure(action);