Parameters for pretty-printing a JSON value.
- Value parameters:
- arrayCommaLeft
Spaces to insert to left of a comma in an array.
- arrayCommaRight
Spaces to insert to right of a comma in an array.
- colonLeft
Spaces to insert to left of a colon.
- colonRight
Spaces to insert to right of a colon.
- dropNullKeys
Determines if object fields with values of null are dropped from the output.
- indent
The indentation to use if any format strings contain a new line.
- lbraceLeft
Spaces to insert to left of a left brace.
- lbraceRight
Spaces to insert to right of a left brace.
- lbracketLeft
Spaces to insert to left of a left bracket.
- lbracketRight
Spaces to insert to right of a left bracket.
- lrbracketsEmpty
Spaces to insert for an empty array.
- objectCommaLeft
Spaces to insert to left of a comma in an object.
- objectCommaRight
Spaces to insert to right of a comma in an object.
- preserveOrder
Determines if field ordering should be preserved.
- rbraceLeft
Spaces to insert to left of a right brace.
- rbraceRight
Spaces to insert to right of a right brace.
- rbracketLeft
Spaces to insert to left of a right bracket.
- rbracketRight
Spaces to insert to right of a right bracket.
- Companion:
- object
- Source:
- PrettyParams.scala
Value members
Concrete methods
Returns a Vector[Char]
representation of a pretty-printed JSON value.
Returns a Vector[Char]
representation of a pretty-printed JSON value.
- Source:
- PrettyParams.scala
Returns a string representation of a pretty-printed JSON value.
Returns a string representation of a pretty-printed JSON value.
- Source:
- PrettyParams.scala