// Path: bootique-graphql/src/main/java/org/objectstyle/bootique/graphql/json/JsonWriter.java
// public interface JsonWriter {
// 
// 	void write(OutputStream out, JacksonWriterDelegate delegate);
// }


import java.io.IOException;
import java.io.OutputStream;
import java.lang.annotation.Annotation;
import java.lang.reflect.Type;
import javax.inject.Singleton;
import javax.ws.rs.WebApplicationException;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.MultivaluedMap;
import javax.ws.rs.ext.MessageBodyWriter;
import javax.ws.rs.ext.Provider;
import org.objectstyle.bootique.graphql.json.JsonWriter;
import com.google.inject.Inject;
import graphql.ExecutionResult;
package org.objectstyle.bootique.graphql.jaxrs.provider;






@Provider
@Singleton
public class ExecutionResultWriter implements MessageBodyWriter<ExecutionResult> {

	@Inject
// Path: bootique-graphql/src/main/java/org/objectstyle/bootique/graphql/json/JsonWriter.java
// public interface JsonWriter {
// 
// 	void write(OutputStream out, JacksonWriterDelegate delegate);
// }


// Path: bootique-graphql/src/main/java/org/objectstyle/bootique/graphql/jaxrs/provider/ExecutionResultWriter.java
import java.io.IOException;
import java.io.OutputStream;
import java.lang.annotation.Annotation;
import java.lang.reflect.Type;
import javax.inject.Singleton;
import javax.ws.rs.WebApplicationException;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.MultivaluedMap;
import javax.ws.rs.ext.MessageBodyWriter;
import javax.ws.rs.ext.Provider;
import org.objectstyle.bootique.graphql.json.JsonWriter;
import com.google.inject.Inject;
import graphql.ExecutionResult;

package org.objectstyle.bootique.graphql.jaxrs.provider;






@Provider
@Singleton
public class ExecutionResultWriter implements MessageBodyWriter<ExecutionResult> {

	@Inject
	private JsonWriter writer;