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, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JsonObject
  2. Serializable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

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

    Permalink

    Prepend the given key-value pair.

  2. abstract def add(key: String, value: Json): JsonObject

    Permalink

    Insert the given key and value.

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

    Permalink

    Return the JSON value associated with the given key.

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

    Permalink

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

  5. abstract def isEmpty: Boolean

    Permalink

    Return true if there are no associations.

  6. abstract def keys: Iterable[String]

    Permalink

    Return all keys in insertion order.

  7. abstract def mapValues(f: (Json) ⇒ Json): JsonObject

    Permalink

    Transform all associated JSON values.

  8. abstract def remove(key: String): JsonObject

    Permalink

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

  9. abstract def size: Int

    Permalink

    Return the number of associations.

  10. abstract def toIterable: Iterable[(String, Json)]

    Permalink

    Return all key-value pairs in insertion order.

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

    Permalink

    Convert to a map.

    Convert to a map.

    Note

    This conversion does not maintain insertion order.

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

    Permalink

    Traverse Json values.

  13. abstract def values: Iterable[Json]

    Permalink

    Return all associated values in insertion order.

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. final def equals(that: Any): Boolean

    Permalink

    Definition Classes
    JsonObject → AnyRef → Any
  8. final def filter(pred: ((String, Json)) ⇒ Boolean): JsonObject

    Permalink

    Filter by keys and values.

  9. final def filterKeys(pred: (String) ⇒ Boolean): JsonObject

    Permalink

    Filter by keys.

  10. def finalize(): Unit

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

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

    Permalink

    Definition Classes
    JsonObject → AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. final def kleisli: Kleisli[Option, String, Json]

    Permalink

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

  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def nonEmpty: Boolean

    Permalink

    Return true if there is at least one association.

  17. final def notify(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
  20. final def toList: List[(String, Json)]

    Permalink

    Return all key-value pairs in insertion order as a list.

  21. final def toString(): String

    Permalink

    Definition Classes
    JsonObject → AnyRef → Any
  22. final def toVector: Vector[(String, Json)]

    Permalink

    Return all key-value pairs in insertion order as a vector.

  23. final def wait(): Unit

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

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

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

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Operations for accessing contents

Conversions to other collection types

Operations that transform the JSON object

Equality and other operations

Ungrouped