public abstract class AbstractOshiJsonObject extends Object implements OshiJsonObject
| Constructor and Description |
|---|
AbstractOshiJsonObject() |
| 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. |
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 |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waittoJSONpublic String toCompactJSON()
OshiJsonObject.toCompactJSON(Properties) configure the
type of information returned.toCompactJSON in interface OshiJsonObjectpublic String toCompactJSON(Properties properties)
OshiJsonObject.toCompactJSON().toCompactJSON in interface OshiJsonObjectproperties - Properties to configure returned resultspublic String toPrettyJSON()
OshiJsonObject.toPrettyJSON(Properties) configure the
type of information returned.toPrettyJSON in interface OshiJsonObjectpublic String toPrettyJSON(Properties properties)
OshiJsonObject.toPrettyJSON().toPrettyJSON in interface OshiJsonObjectproperties - Properties to configure returned resultspublic javax.json.JsonObject toJSON()
JsonObject. The properties
set by OshiJsonObject.toJSON(Properties) configure the type of information
returned.toJSON in interface OshiJsonObjectJsonObject for this class.Copyright © 2010–2017 oshi. All rights reserved.