class Unbuilder[J] extends AnyRef
Builder is an mutable structure to write JSON into.
- Alphabetic
- By Inheritance
- Unbuilder
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
beginArray(js: J): Int
Begin reading JSON array.
Begin reading JSON array. Returns the size. Call
nextElement
n-times, and then callendArray
. -
def
beginObject(js: J): Int
Begin reading JSON object.
Begin reading JSON object. Returns the size. Call
nextField
n-times, and then callendObject
. -
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 callendObject
. -
def
beginPreObject(js: J): Int
The unbuilder counterpart for beginPreObject.
The unbuilder counterpart for beginPreObject. This is used to filter out the type field.
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
endArray(): Unit
End reading JSON array.
End reading JSON array. Returns the size.
-
def
endObject(): Unit
End reading JSON object.
End reading JSON object. Returns the size.
- def endPreObject(): Unit
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hasNextField: Boolean
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def isInObject: Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isJnull(js: J): Boolean
Check if js is null
-
def
isObject(js: J): Boolean
Check if js is an object
- def lookupField(name: String): Option[J]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def nextElement: J
- def nextFieldOpt(): (String, Option[J])
- def nextFieldOptWithJString(): (J, Option[J])
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
readBigDecimal(js: J): BigDecimal
Read
BigDecimal
value to the current context. -
def
readBoolean(js: J): Boolean
Read
Boolean
value to the current context. -
def
readDouble(js: J): Double
Read
Double
value to the current context. - def readField[A](name: String)(implicit arg0: JsonReader[A]): A
-
def
readFloat(js: J): Float
Read
Float
value to the current context. -
def
readInt(js: J): Int
Read
Int
value to the current context. -
def
readLong(js: J): Long
Read
Long
value to the current context. -
def
readString(js: J): String
Read
String
value to the current context. - def state: UnbuilderState
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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
- @throws( ... ) @native()
Deprecated Value Members
-
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.
-
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.