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
Ordering
- Alphabetic
- By Inheritance
Inherited
- JsonPath
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val CurrentChar: Char
- val IndexStart: Char
- val IndexStop: Char
- val RootChar: Char
- val SpecialChars: Set[Char]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val current: Parser[Cursor]
- val down: Parser[Down]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val index: Parser[Index]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val jsonPath: Parser[NonEmptyList[Cursor]]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val operator: Parser[NonEmptyList[Cursor]]
- def parse(str: String): Either[String, NonEmptyList[Cursor]]
- val root: Parser[Cursor]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- object Cursor