Object/Trait

ujson

Value

Related Docs: trait Value | package ujson

Permalink

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.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Value
  2. AstTransformer
  3. JsVisitor
  4. Visitor
  5. Transformer
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class AstArrVisitor[T[_]] extends ArrVisitor[I, I]

    Permalink
    Definition Classes
    AstTransformer
  2. class AstObjVisitor[T] extends ObjVisitor[I, I]

    Permalink
    Definition Classes
    AstTransformer
  3. case class InvalidData(data: Value, msg: String) extends Exception with Product with Serializable

    Permalink

    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

  4. sealed trait Selector extends AnyRef

    Permalink
  5. type Value = ujson.Value

    Permalink
  6. type Arr = ujson.Arr

    Permalink
    Annotations
    @deprecated
    Deprecated

    use ujson.Arr

  7. type Bool = ujson.Bool

    Permalink
    Annotations
    @deprecated
    Deprecated

    use ujson.Bool

  8. type Num = ujson.Num

    Permalink
    Annotations
    @deprecated
    Deprecated

    use ujson.Num

  9. type Obj = ujson.Obj

    Permalink
    Annotations
    @deprecated
    Deprecated

    use ujson.Obj

  10. type Str = ujson.Str

    Permalink
    Annotations
    @deprecated
    Deprecated

    use ujson.Str

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. implicit def JsonableBoolean(i: Boolean): Bool

    Permalink
  5. implicit def JsonableByte(i: Byte): Num

    Permalink
  6. implicit def JsonableDict[T](items: TraversableOnce[(String, T)])(implicit f: (T) ⇒ Value): Obj

    Permalink
  7. implicit def JsonableDouble(i: Double): Num

    Permalink
  8. implicit def JsonableFloat(i: Float): Num

    Permalink
  9. implicit def JsonableInt(i: Int): Num

    Permalink
  10. implicit def JsonableLong(i: Long): Str

    Permalink
  11. implicit def JsonableNull(i: Null): Null.type

    Permalink
  12. implicit def JsonableSeq[T](items: TraversableOnce[T])(implicit f: (T) ⇒ Value): Arr

    Permalink
  13. implicit def JsonableShort(i: Short): Num

    Permalink
  14. implicit def JsonableString(s: CharSequence): Str

    Permalink
  15. object Selector

    Permalink
  16. def apply(t: Readable): ujson.Value

    Permalink
    Definition Classes
    AstTransformer
  17. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  18. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  21. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  23. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  24. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  25. def map[Z](f: (ujson.Value) ⇒ Z): Visitor[ujson.Value, Z]

    Permalink
    Definition Classes
    Visitor
  26. def mapNulls[Z](f: (ujson.Value) ⇒ Z): Visitor[ujson.Value, Z]

    Permalink
    Definition Classes
    Visitor
  27. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  28. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  31. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  32. def transform[T](j: Value, f: Visitor[_, T]): T

    Permalink
    Definition Classes
    ValueTransformer
  33. def transformArray[T](f: Visitor[_, T], items: Iterable[ujson.Value]): T

    Permalink
    Definition Classes
    AstTransformer
  34. def transformObject[T](f: Visitor[_, T], items: Iterable[(String, ujson.Value)]): T

    Permalink
    Definition Classes
    AstTransformer
  35. def transformable[T](j: ujson.Value): fromTransformer[ujson.Value]

    Permalink
    Definition Classes
    Transformer
  36. def visitArray(length: Int, index: Int): AstArrVisitor[ArrayBuffer]

    Permalink
    Definition Classes
    Value → Visitor
  37. def visitBinary(bytes: Array[Byte], offset: Int, len: Int, index: Int): ujson.Value

    Permalink
    Definition Classes
    JsVisitor → Visitor
  38. def visitChar(s: Char, index: Int): ujson.Value

    Permalink
    Definition Classes
    JsVisitor → Visitor
  39. def visitExt(tag: Byte, bytes: Array[Byte], offset: Int, len: Int, index: Int): ujson.Value

    Permalink
    Definition Classes
    JsVisitor → Visitor
  40. def visitFalse(index: Int): ujson.False.type

    Permalink
    Definition Classes
    Value → Visitor
  41. def visitFloat32(d: Float, index: Int): ujson.Value

    Permalink
    Definition Classes
    JsVisitor → Visitor
  42. def visitFloat64(d: Double, index: Int): ujson.Num

    Permalink
    Definition Classes
    ValueJsVisitor → Visitor
  43. def visitFloat64String(s: String, index: Int): ujson.Value

    Permalink
    Definition Classes
    JsVisitor → Visitor
  44. def visitFloat64StringParts(s: CharSequence, decIndex: Int, expIndex: Int, index: Int): ujson.Num

    Permalink
    Definition Classes
    Value → Visitor
  45. def visitFloat64StringParts(s: CharSequence, decIndex: Int, expIndex: Int): ujson.Value

    Permalink
    Definition Classes
    JsVisitor
  46. def visitInt32(i: Int, index: Int): ujson.Value

    Permalink
    Definition Classes
    JsVisitor → Visitor
  47. def visitInt64(i: Long, index: Int): ujson.Value

    Permalink
    Definition Classes
    JsVisitor → Visitor
  48. def visitNull(index: Int): ujson.Null.type

    Permalink
    Definition Classes
    Value → Visitor
  49. def visitObject(length: Int, index: Int): AstObjVisitor[LinkedHashMap[String, Value]]

    Permalink
    Definition Classes
    Value → Visitor
  50. def visitString(s: CharSequence, index: Int): ujson.Str

    Permalink
    Definition Classes
    Value → Visitor
  51. def visitTrue(index: Int): ujson.True.type

    Permalink
    Definition Classes
    Value → Visitor
  52. def visitUInt64(i: Long, index: Int): ujson.Value

    Permalink
    Definition Classes
    JsVisitor → Visitor
  53. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  54. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  55. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. val Arr: ujson.Arr.type

    Permalink
    Annotations
    @deprecated
    Deprecated

    use ujson.Arr

  2. val Bool: ujson.Bool.type

    Permalink
    Annotations
    @deprecated
    Deprecated

    use ujson.Bool

  3. val False: ujson.False.type

    Permalink
    Annotations
    @deprecated
    Deprecated

    use ujson.False

  4. val Null: ujson.Null.type

    Permalink
    Annotations
    @deprecated
    Deprecated

    use ujson.Null

  5. val Num: ujson.Num.type

    Permalink
    Annotations
    @deprecated
    Deprecated

    use ujson.Num

  6. val Obj: ujson.Obj.type

    Permalink
    Annotations
    @deprecated
    Deprecated

    use ujson.Obj

  7. val Str: ujson.Str.type

    Permalink
    Annotations
    @deprecated
    Deprecated

    use ujson.Str

  8. val True: ujson.True.type

    Permalink
    Annotations
    @deprecated
    Deprecated

    use ujson.True

Inherited from AstTransformer[ujson.Value]

Inherited from JsVisitor[ujson.Value, ujson.Value]

Inherited from Visitor[ujson.Value, ujson.Value]

Inherited from Transformer[ujson.Value]

Inherited from AnyRef

Inherited from Any

Ungrouped