Trait/Object

smile.json

PrettyPrinter

Related Docs: object PrettyPrinter | package json

Permalink

trait PrettyPrinter extends JsonPrinter

A JsonPrinter that produces a nicely readable JSON source. Adopt from spray-json.

Linear Supertypes
JsonPrinter, (JsValue) ⇒ String, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PrettyPrinter
  2. JsonPrinter
  3. Function1
  4. AnyRef
  5. 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

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 PrettyPrinter to any2stringadd[PrettyPrinter] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (PrettyPrinter, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from PrettyPrinter to ArrowAssoc[PrettyPrinter] 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 Indent: Int

    Permalink
  7. def andThen[A](g: (String) ⇒ A): (JsValue) ⇒ A

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  8. def apply(x: JsValue, jsonpCallback: Option[String] = None, sb: StringBuilder = new JStringBuilder(256)): String

    Permalink
    Definition Classes
    JsonPrinter
  9. def apply(x: JsValue): String

    Permalink
    Definition Classes
    JsonPrinter → Function1
  10. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def compose[A](g: (A) ⇒ JsValue): (A) ⇒ String

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  13. def ensuring(cond: (PrettyPrinter) ⇒ Boolean, msg: ⇒ Any): PrettyPrinter

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  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. def print(x: JsValue, sb: StringBuilder, indent: Int): Unit

    Permalink
    Attributes
    protected
  28. def print(x: JsValue, sb: StringBuilder): Unit

    Permalink
    Definition Classes
    PrettyPrinterJsonPrinter
  29. def printArray(elements: Iterable[JsValue], sb: StringBuilder, indent: Int): Unit

    Permalink
    Attributes
    protected
  30. def printIndent(sb: StringBuilder, indent: Int): Unit

    Permalink
    Attributes
    protected
  31. def printLeaf(x: JsValue, sb: StringBuilder): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    JsonPrinter
  32. def printObject(members: Iterable[(String, JsValue)], sb: StringBuilder, indent: Int): Unit

    Permalink
    Attributes
    protected
  33. def printSeq[A](iterable: Iterable[A], printSeparator: ⇒ Unit)(f: (A) ⇒ Unit): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    JsonPrinter
  34. def printString(s: String, sb: StringBuilder): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    JsonPrinter
  35. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

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

Inherited from JsonPrinter

Inherited from (JsValue) ⇒ String

Inherited from AnyRef

Inherited from Any

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

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

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

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

Ungrouped