Class/Object

io.circe

JsonObject

Related Docs: object JsonObject | package circe

Permalink

sealed abstract class JsonObject extends Serializable

A mapping from keys to JSON values that maintains insertion order.

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JsonObject
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def +:(f: (String, Json)): JsonObject

    Permalink

    Prepend the given key-value pair.

  2. abstract def add(k: String, j: Json): JsonObject

    Permalink

    Insert the given key-value pair.

  3. abstract def apply(k: String): Option[Json]

    Permalink

    Return the JSON value associated with the given field.

  4. abstract def contains(f: String): Boolean

    Permalink

    Return true if there is an association with the given field.

  5. abstract def fieldSet: Set[String]

    Permalink

    Return all association keys in an undefined order.

  6. abstract def fields: List[String]

    Permalink

    Return all association keys in insertion order.

  7. abstract def isEmpty: Boolean

    Permalink

    Return true if there are no associations.

  8. abstract def kleisli: Kleisli[Option, String, Json]

    Permalink

    Return a Kleisli arrow that gets the JSON value associated with the given field.

  9. abstract def remove(k: String): JsonObject

    Permalink

    Remove the field with the given key (if it exists).

  10. abstract def size: Int

    Permalink

    Return the number of associations.

  11. abstract def toList: List[(String, Json)]

    Permalink

    Return the list of associations in insertion order.

  12. abstract def toMap: Map[String, Json]

    Permalink

    Convert to a map.

  13. abstract def traverse[F[_]](f: (Json) ⇒ F[Json])(implicit F: Applicative[F]): F[JsonObject]

    Permalink

    Traverse Json values.

  14. abstract def values: List[Json]

    Permalink

    Return all associated values in insertion order.

  15. abstract def withJsons(f: (Json) ⇒ Json): JsonObject

    Permalink

    Transform all associated JSON values.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  11. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. final def nonEmpty: Boolean

    Permalink

    Return true if there is at least one association.

  14. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  17. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped