Packages

object JsonPath

An extremely small subset of JSONPath spec (@see https://goessner.net/articles/JsonPath/index.html)

It meant only to match output of json-schema-validator library and be immediately transformed into Pointer, which is a common format for schema-ddl

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

Type Members

  1. sealed trait Cursor extends AnyRef

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val CurrentChar: Char
  5. val IndexStart: Char
  6. val IndexStop: Char
  7. val RootChar: Char
  8. val SpecialChars: Set[Char]
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  11. val current: Parser[Cursor]
  12. val down: Parser[Down]
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. val index: Parser[Index]
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. val jsonPath: Parser[NonEmptyList[Cursor]]
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. val operator: Parser[NonEmptyList[Cursor]]
  25. def parse(str: String): Either[String, NonEmptyList[Cursor]]
  26. val root: Parser[Cursor]
  27. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  28. def toPointer(jsonPath: NonEmptyList[Cursor]): Either[SchemaPointer, SchemaPointer]

    Try to convert to Pointer.SchemaPointer.

    Try to convert to Pointer.SchemaPointer. We're interested only in SchemaPointer because JsonPath is used only within SelfSyntaxChecker, which works only with schemas

    jsonPath

    parsed minimal JSONPath string

    returns

    either object with same semantics as Pointer.parseSchemaPointer - in case of unexpected schema property it fallsback to DownField, which will work out as a pointer, but can be invalid semantically

  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  33. object Cursor

Inherited from AnyRef

Inherited from Any

Ungrouped