package json
- Alphabetic
- Public
- Protected
Type Members
- trait AlwaysDerivedParameter extends AnyRef
Marker trait for parameters who should always be derived from DecodingContext.
Marker trait for parameters who should always be derived from DecodingContext.
By default, Moped uses the default value for parameters unless the DecodingContext.json element contains a matching field name. If the parameter has a type which is a subtype of this trait then the default value is always ignored in favor of the JsonDecoder[A]. The use-case for this trait is to create an Application-like class but with additional fields and methods.
- trait AlwaysHiddenParameter extends AnyRef
Marker trait for parameters that should always be marked as @Hidden().
Marker trait for parameters that should always be marked as @Hidden().
By default, parameters are non-hidden unless the user explicitly adds the
- final class ArrayBuilder extends JsonBuilder
- sealed abstract class Cursor extends AnyRef
- final class DecodingContext extends AnyRef
- final case class ErrorResult(error: Diagnostic) extends Result[Nothing] with Product with Serializable
- final case class JsonArray(elements: List[JsonElement]) extends JsonElement with Product with Serializable
- final case class JsonBoolean(value: Boolean) extends JsonPrimitive with Product with Serializable
- sealed abstract class JsonBuilder extends AnyRef
- trait JsonCodec[A] extends JsonDecoder[A] with JsonEncoder[A] with ClassShaper[A]
- trait JsonDecoder[A] extends AnyRef
- sealed abstract class JsonElement extends Product with Serializable
- trait JsonEncoder[A] extends AnyRef
- final case class JsonMember(key: JsonString, value: JsonElement) extends Product with Serializable
- final case class JsonNull() extends JsonPrimitive with Product with Serializable
- final case class JsonNumber(value: Double) extends JsonPrimitive with Product with Serializable
- final case class JsonObject(members: List[JsonMember]) extends JsonElement with Product with Serializable
- sealed abstract class JsonPrimitive extends JsonElement
- final case class JsonString(value: String) extends JsonPrimitive with Product with Serializable
- class JsonTraverser extends AnyRef
- final case class NoCursor() extends Cursor with Product with Serializable
- final class ObjectBuilder extends JsonBuilder
- class ObjectMergerTraverser extends JsonTraverser
A JSON traverser that can merge separate objects into one object.
- final class PrimitiveBuilder extends JsonBuilder
- sealed abstract class Result[+A] extends Product with Serializable
- final case class SelectIndexCursor(value: Int) extends Cursor with Product with Serializable
- final case class SelectMemberCursor(value: String) extends Cursor with Product with Serializable
- final case class ValueResult[+A](value: A) extends Result[A] with Product with Serializable
Value Members
- object Cursor
- object DecodingContext
- object JsonBuilder
- object JsonCodec
- object JsonDecoder
- object JsonElement extends Serializable
- object JsonEncoder
- object JsonSchema
- object Result extends Serializable