Package com.fasterxml.jackson.core.util
Class Separators
- java.lang.Object
-
- com.fasterxml.jackson.core.util.Separators
-
- All Implemented Interfaces:
java.io.Serializable
public class Separators extends java.lang.Object implements java.io.Serializable
Value class used with somePrettyPrinter
implements- Since:
- 2.9
- See Also:
DefaultPrettyPrinter
,MinimalPrettyPrinter
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Separators()
Separators(char objectFieldValueSeparator, char objectEntrySeparator, char arrayValueSeparator)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Separators
createDefaultInstance()
char
getArrayValueSeparator()
char
getObjectEntrySeparator()
char
getObjectFieldValueSeparator()
Separators
withArrayValueSeparator(char sep)
Separators
withObjectEntrySeparator(char sep)
Separators
withObjectFieldValueSeparator(char sep)
-
-
-
Method Detail
-
createDefaultInstance
public static Separators createDefaultInstance()
-
withObjectFieldValueSeparator
public Separators withObjectFieldValueSeparator(char sep)
-
withObjectEntrySeparator
public Separators withObjectEntrySeparator(char sep)
-
withArrayValueSeparator
public Separators withArrayValueSeparator(char sep)
-
getObjectFieldValueSeparator
public char getObjectFieldValueSeparator()
-
getObjectEntrySeparator
public char getObjectEntrySeparator()
-
getArrayValueSeparator
public char getArrayValueSeparator()
-
-