Object/Trait

ujson

Js

Related Docs: trait Js | package ujson

Permalink

object Js extends AstTransformer[Js]

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. Js
  2. AstTransformer
  3. Visitor
  4. Transformer
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class Arr(value: ArrayBuffer[Value]) extends Transformable with Value with Product with Serializable

    Permalink
  2. class AstArrVisitor[T[_]] extends ArrVisitor[I, I]

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

    Permalink
    Definition Classes
    AstTransformer
  4. sealed abstract class Bool extends Transformable with Value

    Permalink
  5. 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

  6. case class Num(value: Double) extends Transformable with Value with Product with Serializable

    Permalink
  7. case class Obj(value: LinkedHashMap[String, Value]) extends Transformable with Value with Product with Serializable

    Permalink
  8. sealed trait Selector extends AnyRef

    Permalink
  9. case class Str(value: String) extends Transformable with Value with Product with Serializable

    Permalink
  10. type Value = Js

    Permalink

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. object Arr extends Serializable

    Permalink
  5. object Bool

    Permalink
  6. object False extends Bool with Product with Serializable

    Permalink
  7. implicit def JsonableBoolean(i: Boolean): Bool with Product with Serializable

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

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

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

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

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

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

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

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

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

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

    Permalink
  18. object Null extends Transformable with Value with Product with Serializable

    Permalink
  19. object Obj extends Serializable

    Permalink
  20. object Selector

    Permalink
  21. object True extends Bool with Product with Serializable

    Permalink
  22. def apply(t: Transformable): Js

    Permalink
    Definition Classes
    Visitor
  23. final def asInstanceOf[T0]: T0

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  31. final def ne(arg0: AnyRef): Boolean

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

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

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

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

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

    Permalink
    Definition Classes
    JsTransformer
  37. def transformArray[T](f: Visitor[_, T], items: TraversableOnce[Js]): T

    Permalink
    Definition Classes
    AstTransformer
  38. def transformObject[T](f: Visitor[_, T], items: TraversableOnce[(String, Js)]): T

    Permalink
    Definition Classes
    AstTransformer
  39. def transformable[T](j: Js): fromTransformer[Js]

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

    Permalink
    Definition Classes
    JsVisitor
  41. def visitArray(): ArrVisitor[Js, Js]

    Permalink
    Definition Classes
    Visitor
  42. def visitFalse(index: Int): False.type

    Permalink
    Definition Classes
    JsVisitor
  43. def visitFalse(): Js

    Permalink
    Definition Classes
    Visitor
  44. def visitNull(index: Int): Null.type

    Permalink
    Definition Classes
    JsVisitor
  45. def visitNull(): Js

    Permalink
    Definition Classes
    Visitor
  46. def visitNum(s: CharSequence, decIndex: Int, expIndex: Int, index: Int): Num

    Permalink
    Definition Classes
    JsVisitor
  47. def visitNum(s: CharSequence, decIndex: Int, expIndex: Int): Js

    Permalink
    Definition Classes
    Visitor
  48. def visitNumRaw(d: Double, index: Int): Num

    Permalink

    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

    Definition Classes
    JsVisitor
  49. def visitNumRawString(s: String, index: Int): Js

    Permalink

    Convenience methods to help you compute the decimal-point-index and exponent-index of an arbitrary numeric string

    Convenience methods to help you compute the decimal-point-index and exponent-index of an arbitrary numeric string

    Definition Classes
    Visitor
  50. def visitObject(index: Int): AstObjVisitor[LinkedHashMap[String, Js]]

    Permalink
    Definition Classes
    JsVisitor
  51. def visitObject(): ObjVisitor[Js, Js]

    Permalink
    Definition Classes
    Visitor
  52. def visitString(s: CharSequence, index: Int): Str

    Permalink
    Definition Classes
    JsVisitor
  53. def visitString(s: CharSequence): Js

    Permalink
    Definition Classes
    Visitor
  54. def visitTrue(index: Int): True.type

    Permalink
    Definition Classes
    JsVisitor
  55. def visitTrue(): Js

    Permalink
    Definition Classes
    Visitor
  56. final def wait(): Unit

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

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

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

Inherited from AstTransformer[Js]

Inherited from Visitor[Js, Js]

Inherited from Transformer[Js]

Inherited from AnyRef

Inherited from Any

Ungrouped