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