object Value extends AstTransformer[Value]
A very small, very simple JSON AST that uPickle uses as part of its serialization process. A common standard between the Jawn AST (which we don't use so we don't pull in the bulk of Spire) and the Javascript JSON AST.
- Alphabetic
- By Inheritance
- Value
- AstTransformer
- JsVisitor
- Visitor
- Transformer
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
class
AstArrVisitor[T[_]] extends ArrVisitor[I, I]
- Definition Classes
- AstTransformer
-
class
AstObjVisitor[T] extends ObjVisitor[I, I]
- Definition Classes
- AstTransformer
-
case class
InvalidData(data: Value, msg: String) extends Exception with Product with Serializable
Thrown when uPickle tries to convert a JSON blob into a given data structure but fails because part the blob is invalid
Thrown when uPickle tries to convert a JSON blob into a given data structure but fails because part the blob is invalid
- data
The section of the JSON blob that uPickle tried to convert. This could be the entire blob, or it could be some subtree.
- msg
Human-readable text saying what went wrong
- sealed trait Selector extends AnyRef
- type Value = ujson.Value
-
type
Arr = ujson.Arr
- Annotations
- @deprecated
- Deprecated
use ujson.Arr
-
type
Bool = ujson.Bool
- Annotations
- @deprecated
- Deprecated
use ujson.Bool
-
type
Num = ujson.Num
- Annotations
- @deprecated
- Deprecated
use ujson.Num
-
type
Obj = ujson.Obj
- Annotations
- @deprecated
- Deprecated
use ujson.Obj
-
type
Str = ujson.Str
- Annotations
- @deprecated
- Deprecated
use ujson.Str
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
- implicit def JsonableBoolean(i: Boolean): ujson.Bool with Product with Serializable
- implicit def JsonableByte(i: Byte): ujson.Num
- implicit def JsonableDict[T](items: TraversableOnce[(String, T)])(implicit f: (T) ⇒ Value): ujson.Obj
- implicit def JsonableDouble(i: Double): ujson.Num
- implicit def JsonableFloat(i: Float): ujson.Num
- implicit def JsonableInt(i: Int): ujson.Num
- implicit def JsonableLong(i: Long): ujson.Str
- implicit def JsonableNull(i: Null): ujson.Null.type
- implicit def JsonableSeq[T](items: TraversableOnce[T])(implicit f: (T) ⇒ Value): ujson.Arr
- implicit def JsonableShort(i: Short): ujson.Num
- implicit def JsonableString(s: CharSequence): ujson.Str
-
def
apply(t: Readable): ujson.Value
- Definition Classes
- AstTransformer
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
map[Z](f: (ujson.Value) ⇒ Z): Visitor[ujson.Value, Z]
- Definition Classes
- Visitor
-
def
mapNulls[Z](f: (ujson.Value) ⇒ Z): Visitor[ujson.Value, Z]
- Definition Classes
- Visitor
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
transform[T](j: Value, f: Visitor[_, T]): T
- Definition Classes
- Value → Transformer
-
def
transformArray[T](f: Visitor[_, T], items: Iterable[ujson.Value]): T
- Definition Classes
- AstTransformer
-
def
transformObject[T](f: Visitor[_, T], items: Iterable[(String, ujson.Value)]): T
- Definition Classes
- AstTransformer
-
def
transformable[T](j: ujson.Value): fromTransformer[ujson.Value]
- Definition Classes
- Transformer
-
def
visitArray(length: Int, index: Int): AstArrVisitor[ArrayBuffer]
- Definition Classes
- Value → Visitor
-
def
visitBinary(bytes: Array[Byte], offset: Int, len: Int, index: Int): ujson.Value
- Definition Classes
- JsVisitor → Visitor
-
def
visitChar(s: Char, index: Int): ujson.Value
- Definition Classes
- JsVisitor → Visitor
-
def
visitExt(tag: Byte, bytes: Array[Byte], offset: Int, len: Int, index: Int): ujson.Value
- Definition Classes
- JsVisitor → Visitor
-
def
visitFalse(index: Int): ujson.False.type
- Definition Classes
- Value → Visitor
-
def
visitFloat32(d: Float, index: Int): ujson.Value
- Definition Classes
- JsVisitor → Visitor
- def visitFloat64(d: Double, index: Int): ujson.Num
-
def
visitFloat64String(s: String, index: Int): ujson.Value
- Definition Classes
- JsVisitor → Visitor
-
def
visitFloat64StringParts(s: CharSequence, decIndex: Int, expIndex: Int, index: Int): ujson.Num
- Definition Classes
- Value → Visitor
-
def
visitFloat64StringParts(s: CharSequence, decIndex: Int, expIndex: Int): ujson.Value
- Definition Classes
- JsVisitor
-
def
visitInt32(i: Int, index: Int): ujson.Value
- Definition Classes
- JsVisitor → Visitor
-
def
visitInt64(i: Long, index: Int): ujson.Value
- Definition Classes
- JsVisitor → Visitor
-
def
visitNull(index: Int): ujson.Null.type
- Definition Classes
- Value → Visitor
-
def
visitObject(length: Int, index: Int): AstObjVisitor[LinkedHashMap[String, Value]]
- Definition Classes
- Value → Visitor
-
def
visitString(s: CharSequence, index: Int): ujson.Str
- Definition Classes
- Value → Visitor
-
def
visitTrue(index: Int): ujson.True.type
- Definition Classes
- Value → Visitor
-
def
visitUInt64(i: Long, index: Int): ujson.Value
- Definition Classes
- JsVisitor → Visitor
-
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( ... )
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- object Selector
Deprecated Value Members
-
val
Arr: ujson.Arr.type
- Annotations
- @deprecated
- Deprecated
use ujson.Arr
-
val
Bool: ujson.Bool.type
- Annotations
- @deprecated
- Deprecated
use ujson.Bool
-
val
False: ujson.False.type
- Annotations
- @deprecated
- Deprecated
use ujson.False
-
val
Null: ujson.Null.type
- Annotations
- @deprecated
- Deprecated
use ujson.Null
-
val
Num: ujson.Num.type
- Annotations
- @deprecated
- Deprecated
use ujson.Num
-
val
Obj: ujson.Obj.type
- Annotations
- @deprecated
- Deprecated
use ujson.Obj
-
val
Str: ujson.Str.type
- Annotations
- @deprecated
- Deprecated
use ujson.Str
-
val
True: ujson.True.type
- Annotations
- @deprecated
- Deprecated
use ujson.True
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
- Deprecated
(Since version ) see corresponding Javadoc for more information.