RootJsonWriter

@implicitNotFound(msg = "Cannot find RootJsonWriter or RootJsonFormat type class for ${T}")
trait RootJsonWriter[T] extends JsonWriter[T]

A special JsonWriter capable of writing a legal JSON root object, i.e. either a JSON array or a JSON object.

trait JsonWriter[T]
class Object
trait Matchable
class Any

Value members

Inherited methods

def write(obj: T): JsValue
Inherited from
JsonWriter