public class Json extends Object implements ipayload_formatter
| Constructor and Description |
|---|
Json() |
| Modifier and Type | Method and Description |
|---|---|
String |
resource_to_string(base_resource resrc)
Converts NetScaler SDX resource to Json string.
|
String |
resource_to_string(base_resource[] resources,
options option)
Converts NetScaler SDX resources to Json string.
|
String |
resource_to_string(base_resource[] resources,
options option,
String onerror)
Converts MPS resources to Json string.
|
String |
resource_to_string(base_resource resrc,
options option)
Converts NetScaler SDX resource to Json string.
|
String |
resource_to_string(base_resource resrc,
options option,
String onerror)
Converts MPS resource to Json string.
|
Object |
string_to_resource(Class<?> responseClass,
String response)
Converts Json string to NetScaler SDX resource.
|
public String resource_to_string(base_resource resrc)
resource_to_string in interface ipayload_formatterresrc - API resource.public Object string_to_resource(Class<?> responseClass, String response)
string_to_resource in interface ipayload_formatterresponseClass - Type of the class to which the string has to be converted to.response - input string.public String resource_to_string(base_resource resrc, options option)
resource_to_string in interface ipayload_formatterresrc - API resource.option - options class object.public String resource_to_string(base_resource[] resources, options option)
resource_to_string in interface ipayload_formatterresources - API resources.option - options class object.public String resource_to_string(base_resource resrc, options option, String onerror)
resource_to_string in interface ipayload_formatterresrc - nitro resource.option - options class object.public String resource_to_string(base_resource[] resources, options option, String onerror)
resource_to_string in interface ipayload_formatterresources - nitro resources.option - options class object.Copyright © 2013 Citrix Systems, Inc.. All Rights Reserved.