public interface OshiJsonObject extends Serializable
| Modifier and Type | Method and Description |
|---|---|
String |
toCompactJSON()
Creates a compact JSON string containing the information for this class.
|
String |
toCompactJSON(Properties properties)
Creates a compact JSON string containing the information for this class.
|
javax.json.JsonObject |
toJSON()
Returns this object as a
JsonObject. |
javax.json.JsonObject |
toJSON(Properties properties)
Returns this object as a
JsonObject. |
String |
toPrettyJSON()
Creates a pretty JSON string containing the information for this class.
|
String |
toPrettyJSON(Properties properties)
Creates a pretty JSON string containing the information for this class.
|
String toCompactJSON()
toCompactJSON(Properties) configure the
type of information returned.String toCompactJSON(Properties properties)
toCompactJSON().properties - Properties to configure returned resultsString toPrettyJSON()
toPrettyJSON(Properties) configure the
type of information returned.String toPrettyJSON(Properties properties)
toPrettyJSON().properties - Properties to configure returned resultsjavax.json.JsonObject toJSON()
JsonObject. The properties
set by toJSON(Properties) configure the type of information
returned.JsonObject for this class.javax.json.JsonObject toJSON(Properties properties)
JsonObject. The provided
properties will be set on this object to configure the type of
information returned using this and future invocations of
toJSON().properties - Properties to configure returned resultsJsonObject for this class.Copyright © 2010–2017 oshi. All rights reserved.