object LookupInSpec

Methods to allow creating a sequence of LookupInSpec for providing to a lookupIn SubDocument method.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LookupInSpec
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def count(path: String): Count

    Gets the count of a path in a JSON document.

    Gets the count of a path in a JSON document. This only applies to JSON object and array fields.

    path

    a valid path in the document, such as "foo.bar"

  2. def exists(path: String): Exists

    Checks if a path exists in a JSON document.

    Checks if a path exists in a JSON document.

    path

    a valid path in the document, such as "foo.bar"

  3. def get(path: String): Get

    Gets a field from a JSON document.

    Gets a field from a JSON document.

    To fetch the full document, use an empty path of "".

    path

    a valid path in the document, such as "foo.bar"