edu.internet2.middleware.grouper.util
Class JsonIndenter

java.lang.Object
  extended by edu.internet2.middleware.grouper.util.JsonIndenter

public class JsonIndenter
extends 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(String theJson)
           
 
Method Summary
 String result()
          get the result
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JsonIndenter

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

result

public String result()
get the result

Returns:
the result

toString

public String toString()
Overrides:
toString in class Object
See Also:
Object.toString()