Class/Object

io.circe

Printer

Related Docs: object Printer | package circe

Permalink

final case class Printer(preserveOrder: Boolean, dropNullKeys: Boolean, indent: String, lbraceLeft: String = "", lbraceRight: String = "", rbraceLeft: String = "", rbraceRight: String = "", lbracketLeft: String = "", lbracketRight: String = "", rbracketLeft: String = "", rbracketRight: String = "", lrbracketsEmpty: String = "", arrayCommaLeft: String = "", arrayCommaRight: String = "", objectCommaLeft: String = "", objectCommaRight: String = "", colonLeft: String = "", colonRight: String = "") extends Serializable with Product

A pretty-printer for JSON values.

preserveOrder

Determines if field ordering should be preserved.

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.

rbraceLeft

Spaces to insert to left of a right brace.

rbraceRight

Spaces to insert to right of a right brace.

lbracketLeft

Spaces to insert to left of a left bracket.

lbracketRight

Spaces to insert to right of a left bracket.

rbracketLeft

Spaces to insert to left of a right bracket.

rbracketRight

Spaces to insert to right of a right bracket.

lrbracketsEmpty

Spaces to insert for an empty array.

arrayCommaLeft

Spaces to insert to left of a comma in an array.

arrayCommaRight

Spaces to insert to right of a comma in an 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.

colonLeft

Spaces to insert to left of a colon.

colonRight

Spaces to insert to right of a colon.

Source
Printer.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Printer
  2. Product
  3. Equals
  4. Serializable
  5. Serializable
  6. AnyRef
  7. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Printer(preserveOrder: Boolean, dropNullKeys: Boolean, indent: String, lbraceLeft: String = "", lbraceRight: String = "", rbraceLeft: String = "", rbraceRight: String = "", lbracketLeft: String = "", lbracketRight: String = "", rbracketLeft: String = "", rbracketRight: String = "", lrbracketsEmpty: String = "", arrayCommaLeft: String = "", arrayCommaRight: String = "", objectCommaLeft: String = "", objectCommaRight: String = "", colonLeft: String = "", colonRight: String = "")

    Permalink

    preserveOrder

    Determines if field ordering should be preserved.

    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.

    rbraceLeft

    Spaces to insert to left of a right brace.

    rbraceRight

    Spaces to insert to right of a right brace.

    lbracketLeft

    Spaces to insert to left of a left bracket.

    lbracketRight

    Spaces to insert to right of a left bracket.

    rbracketLeft

    Spaces to insert to left of a right bracket.

    rbracketRight

    Spaces to insert to right of a right bracket.

    lrbracketsEmpty

    Spaces to insert for an empty array.

    arrayCommaLeft

    Spaces to insert to left of a comma in an array.

    arrayCommaRight

    Spaces to insert to right of a comma in an 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.

    colonLeft

    Spaces to insert to left of a colon.

    colonRight

    Spaces to insert to right of a colon.

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Printer to any2stringadd[Printer] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Printer, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Printer to ArrowAssoc[Printer] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. val arrayCommaLeft: String

    Permalink

    Spaces to insert to left of a comma in an array.

  7. val arrayCommaRight: String

    Permalink

    Spaces to insert to right of a comma in an array.

  8. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. val colonLeft: String

    Permalink

    Spaces to insert to left of a colon.

  11. val colonRight: String

    Permalink

    Spaces to insert to right of a colon.

  12. val dropNullKeys: Boolean

    Permalink

    Determines if object fields with values of null are dropped from the output.

  13. def ensuring(cond: (Printer) ⇒ Boolean, msg: ⇒ Any): Printer

    Permalink
    Implicit information
    This member is added by an implicit conversion from Printer to Ensuring[Printer] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: (Printer) ⇒ Boolean): Printer

    Permalink
    Implicit information
    This member is added by an implicit conversion from Printer to Ensuring[Printer] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean, msg: ⇒ Any): Printer

    Permalink
    Implicit information
    This member is added by an implicit conversion from Printer to Ensuring[Printer] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean): Printer

    Permalink
    Implicit information
    This member is added by an implicit conversion from Printer to Ensuring[Printer] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Printer to StringFormat[Printer] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  20. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  21. val indent: String

    Permalink

    The indentation to use if any format strings contain a new line.

  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. val lbraceLeft: String

    Permalink

    Spaces to insert to left of a left brace.

  24. val lbraceRight: String

    Permalink

    Spaces to insert to right of a left brace.

  25. val lbracketLeft: String

    Permalink

    Spaces to insert to left of a left bracket.

  26. val lbracketRight: String

    Permalink

    Spaces to insert to right of a left bracket.

  27. val lrbracketsEmpty: String

    Permalink

    Spaces to insert for an empty array.

  28. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  31. val objectCommaLeft: String

    Permalink

    Spaces to insert to left of a comma in an object.

  32. val objectCommaRight: String

    Permalink

    Spaces to insert to right of a comma in an object.

  33. val preserveOrder: Boolean

    Permalink

    Determines if field ordering should be preserved.

  34. final def pretty(j: Json): String

    Permalink

    Returns a string representation of a pretty-printed JSON value.

  35. val rbraceLeft: String

    Permalink

    Spaces to insert to left of a right brace.

  36. val rbraceRight: String

    Permalink

    Spaces to insert to right of a right brace.

  37. val rbracketLeft: String

    Permalink

    Spaces to insert to left of a right bracket.

  38. val rbracketRight: String

    Permalink

    Spaces to insert to right of a right bracket.

  39. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  40. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. def [B](y: B): (Printer, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Printer to ArrowAssoc[Printer] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from Product

Inherited from Equals

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from Printer to any2stringadd[Printer]

Inherited by implicit conversion StringFormat from Printer to StringFormat[Printer]

Inherited by implicit conversion Ensuring from Printer to Ensuring[Printer]

Inherited by implicit conversion ArrowAssoc from Printer to ArrowAssoc[Printer]

Ungrouped