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
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Builder(facade: BuilderFacade[J])

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def addField[A](field: String, a: A)(implicit writer: JsonWriter[A]): Unit

  7. def addFieldName(field: String): Unit

    Write field name to the current context.

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. 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.

  10. 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.

  11. 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.

  12. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. var contexts: List[FContext[J]]

    Attributes
    protected
  14. def endArray(): Unit

    Ends the current array context.

  15. def endObject(): Unit

    Ends the current object context.

  16. def endPreObject(): Unit

    Ends the current object context.

  17. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Definition Classes
    AnyRef → Any
  22. def isInObject: Boolean

    Checks if the current state is InObject

  23. final def isInstanceOf[T0]: Boolean

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

    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  27. def result: Option[J]

  28. def state: BuilderState

  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  30. def toString(): String

    Definition Classes
    AnyRef → Any
  31. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. def writeBigDecimal(x: BigDecimal): Unit

    Write BigDecimal value to the current context.

  35. def writeBoolean(x: Boolean): Unit

    Write Boolean value to the current context.

  36. def writeDouble(x: Double): Unit

    Write Double value to the current context.

  37. def writeInt(x: Int): Unit

    Write Int value to the current context.

  38. def writeLong(x: Long): Unit

    Write Long value to the current context.

  39. def writeNull(): Unit

    Write null to the current context.

  40. def writeString(x: String): Unit

    Write String value to the current context.

Inherited from AnyRef

Inherited from Any

Ungrouped