trait Visitor[-T, +J] extends AnyRef
Facade is a type class that describes how Jawn should construct JSON AST elements of type J.
Facade[J] also uses FContext[J] instances, so implementors will usually want to define both.
- Alphabetic
- By Inheritance
- Visitor
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
- abstract def visitArray(index: Int): ArrVisitor[T, J]
- abstract def visitFalse(index: Int): J
- abstract def visitNull(index: Int): J
- abstract def visitNum(s: CharSequence, decIndex: Int, expIndex: Int, index: Int): J
- abstract def visitObject(index: Int): ObjVisitor[T, J]
- abstract def visitString(s: CharSequence, index: Int): J
- abstract def visitTrue(index: Int): J
Concrete 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
- def apply(t: Transformable): J
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.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()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def visitArray(): ArrVisitor[T, J]
- def visitFalse(): J
- def visitNull(): J
- def visitNum(s: CharSequence, decIndex: Int, expIndex: Int): J
-
def
visitNumRaw(d: Double, index: Int): J
Optional handler for raw double values; can be overriden for performance in cases where you're translating directly between numbers to avoid the overhead of stringifying and re-parsing your numbers (e.g.
Optional handler for raw double values; can be overriden for performance in cases where you're translating directly between numbers to avoid the overhead of stringifying and re-parsing your numbers (e.g. the WebJson transformer gets raw doubles from the underlying Json.parse).
Delegates to
visitNum
if not overriden -
def
visitNumRawString(s: String, index: Int): J
Convenience methods to help you compute the decimal-point-index and exponent-index of an arbitrary numeric string
- def visitObject(): ObjVisitor[T, J]
- def visitString(s: CharSequence): J
- def visitTrue(): J
-
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
- @native() @throws( ... )