Class

com.rayrobdod.json.builder.PrettyJsonBuilder

IndentPrettyParams

Related Doc: package PrettyJsonBuilder

Permalink

final class IndentPrettyParams extends PrettyParams

A PrettyParams for an indenting pattern with one space around each colon, commas at the end of the a line and brackets on their own line.

Source
PrettyJsonBuilder.scala
Example:
  1. {
    	"a" : true,
    	"b" : [
    		1,
    		2,
    		3
    	]
    }
Since

3.0

Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IndentPrettyParams
  2. PrettyParams
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new IndentPrettyParams(tab: String = "\t", newline: String = System.lineSeparator)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def colon(level: Int): String

    Permalink

    The string that includes a ':' and the surrounding whitespace.

    The string that includes a ':' and the surrounding whitespace.

    level

    the indentation depth to create a string for.

    Definition Classes
    PrettyParams
  7. def colonLeft(level: Int): String

    Permalink

    The string that will appear on the left of a ':' mapping separator.

    The string that will appear on the left of a ':' mapping separator. This value must contain only whitespace characters

    level

    the indentation depth to create a string for.

    Definition Classes
    IndentPrettyParamsPrettyParams
  8. def colonRight(level: Int): String

    Permalink

    The string that will appear on the right of a ':' mapping separator.

    The string that will appear on the right of a ':' mapping separator. This value must contain only whitespace characters

    level

    the indentation depth to create a string for.

    Definition Classes
    IndentPrettyParamsPrettyParams
  9. final def comma(level: Int): String

    Permalink

    The string that includes a ',' and the surrounding whitespace.

    The string that includes a ',' and the surrounding whitespace.

    level

    the indentation depth to create a string for.

    Definition Classes
    PrettyParams
  10. def commaLeft(level: Int): String

    Permalink

    The string that will appear on the left of a ',' item separator.

    The string that will appear on the left of a ',' item separator. This value must contain only whitespace characters

    level

    the indentation depth to create a string for.

    Definition Classes
    IndentPrettyParamsPrettyParams
  11. def commaRight(level: Int): String

    Permalink

    The string that will appear on the right of a ',' item separator.

    The string that will appear on the right of a ',' item separator. This value must contain only whitespace characters

    level

    the indentation depth to create a string for.

    Definition Classes
    IndentPrettyParamsPrettyParams
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. final def lbrace(level: Int): String

    Permalink

    The string that includes a '[' and the surrounding whitespace.

    The string that includes a '[' and the surrounding whitespace.

    level

    the indentation depth to create a string for.

    Definition Classes
    PrettyParams
  19. def lbraceLeft(level: Int): String

    Permalink

    The string that will appear on the left of a '{' object start.

    The string that will appear on the left of a '{' object start. This value must contain only whitespace characters

    level

    the indentation depth to create a string for.

    Definition Classes
    IndentPrettyParamsPrettyParams
  20. def lbraceRight(level: Int): String

    Permalink

    The string that will appear on the right of a '{' object start.

    The string that will appear on the right of a '{' object start. This value must contain only whitespace characters

    level

    the indentation depth to create a string for.

    Definition Classes
    IndentPrettyParamsPrettyParams
  21. final def lbracket(level: Int): String

    Permalink

    The string that includes a '{' and the surrounding whitespace.

    The string that includes a '{' and the surrounding whitespace.

    level

    the indentation depth to create a string for.

    Definition Classes
    PrettyParams
  22. def lbracketLeft(level: Int): String

    Permalink

    The string that will appear on the left of a '[' array start.

    The string that will appear on the left of a '[' array start. This value must contain only whitespace characters

    level

    the indentation depth to create a string for.

    Definition Classes
    IndentPrettyParamsPrettyParams
  23. def lbracketRight(level: Int): String

    Permalink

    The string that will appear on the right of a '[' array start.

    The string that will appear on the right of a '[' array start. This value must contain only whitespace characters

    level

    the indentation depth to create a string for.

    Definition Classes
    IndentPrettyParamsPrettyParams
  24. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. final def rbrace(level: Int): String

    Permalink

    The string that includes a ']' and the surrounding whitespace.

    The string that includes a ']' and the surrounding whitespace.

    level

    the indentation depth to create a string for.

    Definition Classes
    PrettyParams
  28. def rbraceLeft(level: Int): String

    Permalink

    The string that will appear on the left of a '}' object end.

    The string that will appear on the left of a '}' object end. This value must contain only whitespace characters

    level

    the indentation depth to create a string for.

    Definition Classes
    IndentPrettyParamsPrettyParams
  29. def rbraceRight(level: Int): String

    Permalink

    The string that will appear on the right of a '}' object end.

    The string that will appear on the right of a '}' object end. This value must contain only whitespace characters

    level

    the indentation depth to create a string for.

    Definition Classes
    IndentPrettyParamsPrettyParams
  30. final def rbracket(level: Int): String

    Permalink

    The string that includes a '}' and the surrounding whitespace.

    The string that includes a '}' and the surrounding whitespace.

    level

    the indentation depth to create a string for.

    Definition Classes
    PrettyParams
  31. def rbracketLeft(level: Int): String

    Permalink

    The string that will appear on the left of a ']' array end.

    The string that will appear on the left of a ']' array end. This value must contain only whitespace characters

    level

    the indentation depth to create a string for.

    Definition Classes
    IndentPrettyParamsPrettyParams
  32. def rbracketRight(level: Int): String

    Permalink

    The string that will appear on the right of a ']' array end.

    The string that will appear on the right of a ']' array end. This value must contain only whitespace characters

    level

    the indentation depth to create a string for.

    Definition Classes
    IndentPrettyParamsPrettyParams
  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  34. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  35. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from PrettyParams

Inherited from AnyRef

Inherited from Any

Ungrouped