CompactPrinter

smile.json.CompactPrinter
See theCompactPrinter companion object
trait CompactPrinter extends JsonPrinter

A JsonPrinter that produces compact JSON source without any superfluous whitespace. Adopt from spray-json.

Attributes

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

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