class JsonPointer extends AnyRef
A class to work with Json pointers according to http://tools.ietf.org/html/rfc6901. The behavior in case of invalid pointer is customizable by passing an error handler when instantiating.
- Alphabetic
- By Inheritance
- JsonPointer
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new JsonPointer()
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from DiffsonInstance.JsonPointer to any2stringadd[DiffsonInstance.JsonPointer] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (DiffsonInstance.JsonPointer, B)
- Implicit
- This member is added by an implicit conversion from DiffsonInstance.JsonPointer to ArrowAssoc[DiffsonInstance.JsonPointer] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
ensuring(cond: (DiffsonInstance.JsonPointer) ⇒ Boolean, msg: ⇒ Any): DiffsonInstance.JsonPointer
- Implicit
- This member is added by an implicit conversion from DiffsonInstance.JsonPointer to Ensuring[DiffsonInstance.JsonPointer] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (DiffsonInstance.JsonPointer) ⇒ Boolean): DiffsonInstance.JsonPointer
- Implicit
- This member is added by an implicit conversion from DiffsonInstance.JsonPointer to Ensuring[DiffsonInstance.JsonPointer] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): DiffsonInstance.JsonPointer
- Implicit
- This member is added by an implicit conversion from DiffsonInstance.JsonPointer to Ensuring[DiffsonInstance.JsonPointer] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): DiffsonInstance.JsonPointer
- Implicit
- This member is added by an implicit conversion from DiffsonInstance.JsonPointer to Ensuring[DiffsonInstance.JsonPointer] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
evaluate(value: JsValue, path: Pointer): JsValue
Evaluates the given path in the given JSON object.
Evaluates the given path in the given JSON object. Upon missing elements in value, the error handler is called with the current value and element
-
def
evaluate(value: String, path: String): JsValue
Evaluates the given path in the given JSON object.
Evaluates the given path in the given JSON object. Upon missing elements in value, the error handler is called with the current value and element
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from DiffsonInstance.JsonPointer to StringFormat[DiffsonInstance.JsonPointer] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
handler_=(h: PointerErrorHandler): Unit
Sets the error handler for this instance to the given handler value.
Sets the error handler for this instance to the given handler value. It always falls back to the default handler of the Json provider.
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
parse(input: String): Pointer
Parses a JSON pointer and returns the resolved path.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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( ... )
-
def
→[B](y: B): (DiffsonInstance.JsonPointer, B)
- Implicit
- This member is added by an implicit conversion from DiffsonInstance.JsonPointer to ArrowAssoc[DiffsonInstance.JsonPointer] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc