public class JacksonJSONConverter extends Object implements JSONConverter
| Constructor and Description |
|---|
JacksonJSONConverter(EnvironmentVariables environmentVariables) |
| Modifier and Type | Method and Description |
|---|---|
TestOutcome |
fromJson(InputStream inputStream) |
protected com.fasterxml.jackson.databind.ObjectMapper |
getMapper()
For testing purposes.
|
void |
toJson(TestOutcome testOutcome,
OutputStream outputStream) |
@Inject public JacksonJSONConverter(EnvironmentVariables environmentVariables)
protected com.fasterxml.jackson.databind.ObjectMapper getMapper()
public TestOutcome fromJson(InputStream inputStream) throws IOException
fromJson in interface JSONConverterIOExceptionpublic void toJson(TestOutcome testOutcome, OutputStream outputStream) throws IOException
toJson in interface JSONConverterIOExceptionCopyright © 2011–2014 Wakaleo Consulting. All rights reserved.