c

sjsonnew

Unbuilder

class Unbuilder[J] extends AnyRef

Builder is an mutable structure to write JSON into.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Unbuilder
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Unbuilder(facade: Facade[J])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def beginArray(js: J): Int

    Begin reading JSON array.

    Begin reading JSON array. Returns the size. Call nextElement n-times, and then call endArray.

  6. def beginObject(js: J): Int

    Begin reading JSON object.

    Begin reading JSON object. Returns the size. Call nextField n-times, and then call endObject.

  7. def beginObject(js: J, fieldNames: Option[Vector[String]]): Int

    Begin reading JSON object.

    Begin reading JSON object. Returns the size. Call nextField n-times, and then call endObject.

  8. def beginPreObject(js: J): Int

    The unbuilder counterpart for beginPreObject.

    The unbuilder counterpart for beginPreObject. This is used to filter out the type field.

  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  10. def endArray(): Unit

    End reading JSON array.

    End reading JSON array. Returns the size.

  11. def endObject(): Unit

    End reading JSON object.

    End reading JSON object. Returns the size.

  12. def endPreObject(): Unit
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def hasNextField: Boolean
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def isInObject: Boolean
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def isJnull(js: J): Boolean

    Check if js is null

  22. def isObject(js: J): Boolean

    Check if js is an object

  23. def lookupField(name: String): Option[J]
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. def nextElement: J
  26. def nextFieldOpt(): (String, Option[J])
  27. def nextFieldOptWithJString(): (J, Option[J])
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. def readBigDecimal(js: J): BigDecimal

    Read BigDecimal value to the current context.

  31. def readBoolean(js: J): Boolean

    Read Boolean value to the current context.

  32. def readDouble(js: J): Double

    Read Double value to the current context.

  33. def readField[A](name: String)(implicit arg0: JsonReader[A]): A
  34. def readFloat(js: J): Float

    Read Float value to the current context.

  35. def readInt(js: J): Int

    Read Int value to the current context.

  36. def readLong(js: J): Long

    Read Long value to the current context.

  37. def readString(js: J): String

    Read String value to the current context.

  38. def state: UnbuilderState
  39. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  40. def toString(): String
    Definition Classes
    AnyRef → Any
  41. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Deprecated Value Members

  1. def nextField(): (String, J)
    Annotations
    @deprecated
    Deprecated

    (Since version 0.8.0) Use nextFieldOpt that returns (String, Option[J]). nextField uses JNull to encode elided fields.

  2. def nextFieldWithJString(): (J, J)
    Annotations
    @deprecated
    Deprecated

    (Since version 0.8.0) Use nextFieldOpt that returns (J, Option[J]). nextFieldOptWithJString uses JNull to encode elided fields.

Inherited from AnyRef

Inherited from Any

Ungrouped