PrettyPrinter

smile.json.PrettyPrinter
See thePrettyPrinter companion object
trait PrettyPrinter extends JsonPrinter

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

Attributes

Companion
object
Graph
Supertypes
trait JsonPrinter
trait JsValue => String
class Object
trait Matchable
class Any
Known subtypes
object PrettyPrinter

Members list

Value members

Concrete methods

Inherited methods

def andThen[A](g: String => A): JsValue => A

Attributes

Inherited from:
Function1
def apply(x: JsValue, jsonpCallback: Option[String], sb: StringBuilder): String

Attributes

Inherited from:
JsonPrinter
def apply(x: JsValue): String

Attributes

Inherited from:
JsonPrinter
def compose[A](g: A => JsValue): A => String

Attributes

Inherited from:
Function1
override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Function1 -> Any
Inherited from:
Function1

Concrete fields

val Indent: Int