Class

sjsonnew

Builder

Related Doc: package sjsonnew

Permalink

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: Facade[J])

    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. def addField[A](field: String, a: A)(implicit format: JsonFormat[A]): Unit

    Permalink
  5. def addFieldName(field: String): Unit

    Permalink

    Write field name to the current context.

  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def beginArray(): Unit

    Permalink

    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

    Permalink

    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

    Permalink

    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

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

    Permalink
    Attributes
    protected
  12. def endArray(): Unit

    Permalink

    Ends the current array context.

  13. def endObject(): Unit

    Permalink

    Ends the current object context.

  14. def endPreObject(): Unit

    Permalink

    Ends the current object context.

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  20. def isInObject: Boolean

    Permalink

    Checks if the current state is InObject

  21. final def isInstanceOf[T0]: Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  25. def result: Option[J]

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

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

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

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

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

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

    Permalink

    Write BigDecimal value to the current context.

  32. def writeBoolean(x: Boolean): Unit

    Permalink

    Write Boolean value to the current context.

  33. def writeDouble(x: Double): Unit

    Permalink

    Write Double value to the current context.

  34. def writeInt(x: Int): Unit

    Permalink

    Write Int value to the current context.

  35. def writeLong(x: Long): Unit

    Permalink

    Write Long value to the current context.

  36. def writeNull(): Unit

    Permalink

    Write null to the current context.

  37. def writeString(x: String): Unit

    Permalink

    Write String value to the current context.

Inherited from AnyRef

Inherited from Any

Ungrouped