类的使用
org.springframework.boot.test.json.ObjectContent
使用ObjectContent的程序包
-
org.springframework.boot.test.json中ObjectContent的使用
修饰符和类型方法说明AbstractJsonMarshalTester.parse
(byte[] jsonBytes) ReturnObjectContent
from parsing the specific JSON bytes.ReturnObjectContent
from parsing the specific JSON String.ReturnObjectContent
from reading from the specified file.AbstractJsonMarshalTester.read
(InputStream inputStream) ReturnObjectContent
from reading from the specified input stream.ReturnObjectContent
from reading from the specified reader.ReturnObjectContent
from reading from the specified classpath resource.ReturnObjectContent
from reading from the specified resource.