sjsonnew
package sjsonnew
- Alphabetic
- By Inheritance
- sjsonnew
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- type :*:[A1, A2 <: LList] = LCons[A1, A2]
- trait AdditionalFormats extends AnyRef
Provides additional JsonFormats and helpers
- trait At[L <: LList, N <: Nat] extends AnyRef
- trait BasicJsonProtocol extends PrimitiveFormats with StandardFormats with TupleFormats with CollectionFormats with AdditionalFormats with UnionFormats with FlatUnionFormats with IsoFormats with JavaPrimitiveFormats with JavaExtraFormats with CalendarFormats with ImplicitHashWriters with CaseClassFormats with ThrowableFormats
Provides all the predefined JsonFormats.
- class Builder[J] extends AnyRef
Builder is an mutable structure to write JSON into.
- trait BuilderFacade[J] extends AnyRef
BuilderFacade is a type class that describes how JSON AST elements of type J can be constructed.
BuilderFacade is a type class that describes how JSON AST elements of type J can be constructed.
BuilderFacade[J] also uses FContext[J] instances, so implementors will usually want to define both.
- sealed trait BuilderState extends AnyRef
- trait CalendarFormats extends AnyRef
- trait CaseClassFormats extends AnyRef
- trait CollectionFormats extends AnyRef
- case class DeserializationException(msg: String, cause: Throwable = null, fieldNames: List[String] = Nil) extends RuntimeException with Product with Serializable
- trait ExtractorFacade[J] extends AnyRef
ExtractorFacade is a type class that describes how JSON AST elements of type J can be extracted.
- trait FContext[J] extends AnyRef
FContext is used to construct nested JSON values.
FContext is used to construct nested JSON values.
The most common cases are to build objects and arrays. However, this type is also used to build a single top-level JSON element, in cases where the entire JSON document consists of "333.33".
- trait Facade[J] extends BuilderFacade[J] with ExtractorFacade[J]
Facade is a type class that describes how JSON AST elements of type J can be constructed, and how value can be extracted.
Facade is a type class that describes how JSON AST elements of type J can be constructed, and how value can be extracted.
Facade[J] also uses FContext[J] instances, so implementors will usually want to define both.
- trait FlatUnionFormats extends AnyRef
- trait HashWriter[A] extends AnyRef
Provides hashing for type A.
Provides hashing for type A.
- Annotations
- @implicitNotFound("Cannot find HashWriter type class for ${A}")
- trait ImplicitHashWriters extends AnyRef
- trait IsoFormats extends AnyRef
- trait IsoLList[A] extends AnyRef
Same as LabelledGeneric in shapeless.
- trait IsoString[A] extends AnyRef
- trait JavaExtraFormats extends AnyRef
- trait JavaPrimitiveFormats extends AnyRef
- trait JsonFormat[A] extends JsonReader[A] with JsonWriter[A]
Provides the JSON deserialization and serialization for type A.
- trait JsonKeyFormat[A] extends JsonKeyWriter[A] with JsonKeyReader[A]
A typeclasses for encoding and decoding instances of
Map[A, ?]
. - trait JsonKeyReader[A] extends AnyRef
A typeclass for converting strings to values of type
A
, used for decoding instances ofMap[A, ?]
.A typeclass for converting strings to values of type
A
, used for decoding instances ofMap[A, ?]
.- Annotations
- @implicitNotFound("Cannot find JsonKeyReader or JsonKeyFormat type class for ${A}")
- trait JsonKeyWriter[A] extends AnyRef
A typeclass for converting values of type
A
to strings, used for encoding instances ofMap[A, ?]
.A typeclass for converting values of type
A
to strings, used for encoding instances ofMap[A, ?]
.- Annotations
- @implicitNotFound("Cannot find JsonKeyWriter or JsonKeyFormat type class for ${A}")
- trait JsonReader[A] extends AnyRef
Provides the JSON deserialization for type A.
Provides the JSON deserialization for type A.
- Annotations
- @implicitNotFound("Cannot find JsonReader or JsonFormat type class for ${A}")
- trait JsonWriter[A] extends AnyRef
Provides the JSON serialization for type A.
Provides the JSON serialization for type A.
- Annotations
- @implicitNotFound("Cannot find JsonWriter or JsonFormat type class for ${A}")
- final case class LCons[A1, A2 <: LList](name: String, head: A1, tail: A2)(implicit evidence$7: JsonFormat[A1], evidence$8: ClassTag[A1], evidence$9: JsonFormat[A2]) extends LList with Product with Serializable
- sealed trait LList extends AnyRef
Heterogeneous list (of json serializable stuff) with labels.
- trait LListFormats extends AnyRef
- final class LListOps[L <: LList] extends AnyRef
- type LNil = LNil0
- trait Nat extends AnyRef
- final class PersistedException extends Throwable
- trait PrimitiveFormats extends AnyRef
Provides the JsonFormats for the most important Scala types.
- trait RootJsonFormat[A] extends JsonFormat[A] with RootJsonReader[A] with RootJsonWriter[A]
A special JsonFormat signaling that the format produces a legal JSON root object, i.e.
A special JsonFormat signaling that the format produces a legal JSON root object, i.e. either a JSON array or a JSON object.
- trait RootJsonReader[A] extends JsonReader[A]
A special JsonReader capable of reading a legal JSON root object, i.e.
A special JsonReader capable of reading a legal JSON root object, i.e. either a JSON array or a JSON object.
- Annotations
- @implicitNotFound("Cannot find RootJsonReader or RootJsonFormat type class for ${A}")
- trait RootJsonWriter[A] extends JsonWriter[A]
A special JsonWriter capable of writing a legal JSON root object, i.e.
A special JsonWriter capable of writing a legal JSON root object, i.e. either a JSON array or a JSON object.
- Annotations
- @implicitNotFound("Cannot find RootJsonWriter or RootJsonFormat type class for ${A}")
- class SerializationException extends RuntimeException
- trait SimpleBuilderFacade[J] extends BuilderFacade[J]
SimpleBuilderFacade is a type class that describes how Jawn should construct JSON AST elements of type J.
SimpleBuilderFacade is a type class that describes how Jawn should construct JSON AST elements of type J.
SimpleBuilderFacade[J] also uses FContext[J] instances, so implementors will usually want to define both.
- trait SimpleFacade[J] extends Facade[J] with SimpleBuilderFacade[J]
- trait StandardFormats extends AnyRef
Provides the JsonFormats for the non-collection standard types.
- trait SupportConverter[J] extends AnyRef
- trait SupportHasher[J] extends AnyRef
- trait ThrowableFormats extends AnyRef
- trait TupleFormats extends AnyRef
- class Unbuilder[J] extends AnyRef
Builder is an mutable structure to write JSON into.
- sealed trait UnbuilderState extends AnyRef
- trait UnionFormats extends AnyRef
Value Members
- val LNil: LNil0
- def deserializationError(msg: String, cause: Throwable = null, fieldNames: List[String] = Nil): Nothing
- def jsonReader[A](implicit reader: JsonReader[A]): JsonReader[A]
- def jsonWriter[A](implicit writer: JsonWriter[A]): JsonWriter[A]
- def serializationError(msg: String): Nothing
- object :*:
- object At
- object BUtil
- object BasicJsonProtocol extends BasicJsonProtocol
- object BuilderState
- object HashUtil
- object IsoLList
- object IsoString
- object JsonKeyFormat
- object LList extends LListFormats
- object Nat
- object UnbuilderState