JsonContent

spice.http.content.JsonContent
See theJsonContent companion object
case class JsonContent(json: Json, compact: Boolean, contentType: ContentType, lastModified: Long) extends Content

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Content
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def asStream: Stream[IO, Byte]

Attributes

Definition Classes
override def asString: IO[String]

Attributes

Definition Classes
override def length: Long

Attributes

Definition Classes
override def withContentType(contentType: ContentType): Content

Attributes

Definition Classes
override def withLastModified(lastModified: Long): Content

Attributes

Definition Classes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

lazy val value: String