public class JSONBeautifier extends Object
Constructor and Description |
---|
JSONBeautifier() |
Modifier and Type | Method and Description |
---|---|
String |
beautify(String content) |
void |
configure() |
void |
setAllowedUnquotedFieldNames(boolean allowedUnquotedFieldNames) |
void |
setFailOnUnknownProperties(boolean failOnUnknownProperties) |
void |
setIndentOutput(boolean indentOutput) |
void |
setQuoteFieldNames(boolean quoteFieldNames) |
public String beautify(String content) throws IOException
IOException
public void configure()
public void setIndentOutput(boolean indentOutput)
public void setAllowedUnquotedFieldNames(boolean allowedUnquotedFieldNames)
public void setQuoteFieldNames(boolean quoteFieldNames)
public void setFailOnUnknownProperties(boolean failOnUnknownProperties)
Copyright © 2012. All Rights Reserved.