Package | Description |
---|---|
org.springframework.boot.test.json |
Support for testing JSON.
|
Modifier and Type | Method and Description |
---|---|
JsonContent<Object> |
BasicJsonTester.from(byte[] source)
Create JSON content from the specified JSON bytes.
|
JsonContent<Object> |
BasicJsonTester.from(CharSequence source)
Create JSON content from the specified String source.
|
JsonContent<Object> |
BasicJsonTester.from(File source)
Create JSON content from the specified JSON file.
|
JsonContent<Object> |
BasicJsonTester.from(InputStream source)
Create JSON content from the specified JSON input stream.
|
JsonContent<Object> |
BasicJsonTester.from(org.springframework.core.io.Resource source)
Create JSON content from the specified JSON resource.
|
JsonContent<Object> |
BasicJsonTester.from(String path,
Class<?> resourceLoadClass)
Create JSON content from the specified resource path.
|
JsonContent<T> |
AbstractJsonMarshalTester.write(T value)
Return
JsonContent from writing the specific value. |
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.