public class GsonJSONConverter extends java.lang.Object implements JSONConverter
| Constructor and Description |
|---|
GsonJSONConverter(EnvironmentVariables environmentVariables) |
| Modifier and Type | Method and Description |
|---|---|
TestOutcome |
fromJson(java.io.InputStream inputStream) |
TestOutcome |
fromJson(java.io.Reader jsonReader) |
void |
toJson(TestOutcome testOutcome,
java.io.OutputStream outputStream) |
@Inject public GsonJSONConverter(EnvironmentVariables environmentVariables)
public TestOutcome fromJson(java.io.InputStream inputStream) throws java.io.IOException
fromJson in interface JSONConverterjava.io.IOExceptionpublic TestOutcome fromJson(java.io.Reader jsonReader)
fromJson in interface JSONConverterpublic void toJson(TestOutcome testOutcome, java.io.OutputStream outputStream) throws java.io.IOException
toJson in interface JSONConverterjava.io.IOException