edu.internet2.middleware.grouper.util
Class JsonIndenter
java.lang.Object
edu.internet2.middleware.grouper.util.JsonIndenter
public class JsonIndenter
- extends java.lang.Object
indent json, assumes the input is not yet indented. Also, this is only for
testing or logging or documentation purposes, not production
Method Summary |
java.lang.String |
result()
get the result |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
JsonIndenter
public JsonIndenter(java.lang.String theJson)
- Parameters:
theJson
- is the json to format
indenter
result
public java.lang.String result()
- get the result
- Returns:
- the result
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
- See Also:
Object.toString()