|
BeanIO 2.0.4 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.beanio.stream.json.JsonParserConfiguration
public class JsonParserConfiguration
Stores configuration settings for parsing JSON formatted streams.
| Constructor Summary | |
|---|---|
JsonParserConfiguration()
Constructs a new JsonParserConfiguration> |
|
| Method Summary | |
|---|---|
int |
getIndentation()
Returns the number of spaces to indent when pretty is enabled. |
String |
getLineSeparator()
Returns the line separator to use when pretty is enabled. |
boolean |
isPretty()
Returns whether JSON output should be formatted prettily. |
void |
setIndentation(int indentation)
Sets the number of spaces to indent when pretty is enabled. |
void |
setLineSeparator(String lineSeparator)
Sets the line separator to use when pretty is enabled. |
void |
setPretty(boolean pretty)
Sets whether to prettily format JSON output. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JsonParserConfiguration()
| Method Detail |
|---|
public boolean isPretty()
public void setPretty(boolean pretty)
pretty - true to format JSON output, false otherwisepublic int getIndentation()
public void setIndentation(int indentation)
indentation - the number of spacespublic String getLineSeparator()
public void setLineSeparator(String lineSeparator)
lineSeparator - the line separator
|
BeanIO 2.0.4 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||