Resource 构造函数

定义

重载

Resource()

Constructor.

Resource(JSONObject jsonObject)

Constructor.

Resource(String jsonString)

Constructor.

Resource(String jsonString, ObjectMapper objectMapper)

Constructor.

Resource()

Constructor.

protected Resource()

Resource(JSONObject jsonObject)

Constructor.

protected Resource(JSONObject jsonObject)

参数

jsonObject
JSONObject

the json object that represents the resource.

Resource(String jsonString)

Constructor.

protected Resource(String jsonString)

参数

jsonString
String

the json string that represents the resource.

Resource(String jsonString, ObjectMapper objectMapper)

Constructor.

protected Resource(String jsonString, ObjectMapper objectMapper)

参数

jsonString
String

the json string that represents the resource.

objectMapper
ObjectMapper

the custom object mapper

适用于