c

sjsonnew

Builder

class Builder[J] extends AnyRef

Builder is an mutable structure to write JSON into.

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

Instance Constructors

  1. new Builder(facade: BuilderFacade[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. def addField[A](field: String, a: A)(implicit writer: JsonWriter[A]): Unit
  5. def addFieldName(field: String): Unit

    Write field name to the current context.

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def beginArray(): Unit

    Begins JArray.

    Begins JArray. The builder state will be in BuilderState.InContext. Make writeXXX calls to write into this array, and end with endArray.

  8. def beginObject(): Unit

    Begins JObject.

    Begins JObject. The builder state will be in BuilderState.InObject. Make pairs addField("abc") and writeXXX calls to make field entries, and end with endObject.

  9. def beginPreObject(): Unit

    Begins an offline JObject, which will later be used for beginObject().

    Begins an offline JObject, which will later be used for beginObject(). The builder state will be in BuilderState.InObject. Make pairs addField("abc") and writeXXX calls to make field entries, and end with endObject.

  10. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. var contexts: List[FContext[J]]
    Attributes
    protected
  12. def endArray(): Unit

    Ends the current array context.

  13. def endObject(): Unit

    Ends the current object context.

  14. def endPreObject(): Unit

    Ends the current object context.

  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  17. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  20. def isInObject: Boolean

    Checks if the current state is InObject

  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  25. def result: Option[J]
  26. def state: BuilderState
  27. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. def writeBigDecimal(x: BigDecimal): Unit

    Write BigDecimal value to the current context.

  33. def writeBoolean(x: Boolean): Unit

    Write Boolean value to the current context.

  34. def writeDouble(x: Double): Unit

    Write Double value to the current context.

  35. def writeInt(x: Int): Unit

    Write Int value to the current context.

  36. def writeLong(x: Long): Unit

    Write Long value to the current context.

  37. def writeNull(): Unit

    Write null to the current context.

  38. def writeString(x: String): Unit

    Write String value to the current context.

Inherited from AnyRef

Inherited from Any

Ungrouped