edu.internet2.middleware.grouper.util
Class JsonIndenter

java.lang.Object
  extended by 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


Constructor Summary
JsonIndenter(java.lang.String theJson)
           
 
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
 

Constructor Detail

JsonIndenter

public JsonIndenter(java.lang.String theJson)
Parameters:
theJson - is the json to format indenter
Method Detail

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()