Package | Description |
---|---|
org.springframework.boot.test.json |
Support for testing JSON.
|
Modifier and Type | Method and Description |
---|---|
ObjectContent<T> |
AbstractJsonMarshalTester.parse(byte[] jsonBytes)
Return
ObjectContent from parsing the specific JSON bytes. |
ObjectContent<T> |
AbstractJsonMarshalTester.parse(String jsonString)
Return
ObjectContent from parsing the specific JSON String. |
ObjectContent<T> |
AbstractJsonMarshalTester.read(File file)
Return
ObjectContent from reading from the specified file. |
ObjectContent<T> |
AbstractJsonMarshalTester.read(InputStream inputStream)
Return
ObjectContent from reading from the specified input stream. |
ObjectContent<T> |
AbstractJsonMarshalTester.read(Reader reader)
Return
ObjectContent from reading from the specified reader. |
ObjectContent<T> |
AbstractJsonMarshalTester.read(org.springframework.core.io.Resource resource)
Return
ObjectContent from reading from the specified resource. |
ObjectContent<T> |
AbstractJsonMarshalTester.read(String resourcePath)
Return
ObjectContent from reading from the specified classpath resource. |
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.