Packages

c

little.json.Implicits

JsonGeneratorType

implicit final class JsonGeneratorType extends AnyVal

Provides extension methods to javax.json.stream.JsonGenerator.

See also

JsonParserType

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

Instance Constructors

  1. new JsonGeneratorType(generator: JsonGenerator)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  6. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  7. def toString(): String
    Definition Classes
    Any
  8. def write[T](name: String, value: T)(implicit writer: ObjectContextWriter[T]): JsonGenerator

    Writes value in object context.

  9. def write(name: String, value: Try[JsonValue]): JsonGenerator

    Writes value to object context if Success; otherwise, writes null if Failure.

  10. def write(name: String, value: Option[JsonValue]): JsonGenerator

    Writes value to object context if Some; otherwise, writes null if None.

  11. def write[T](value: T)(implicit writer: ArrayContextWriter[T]): JsonGenerator

    Writes value in array context.

  12. def write(value: Try[JsonValue]): JsonGenerator

    Writes value to array context if Success; otherwise, writes null if Failure.

  13. def write(value: Option[JsonValue]): JsonGenerator

    Writes value to array context if Some; otherwise, writes null if None.

  14. def writeNullable[T](name: String, value: T)(implicit writer: ObjectContextWriter[T]): JsonGenerator

    Writes value in object context or writes null if value is null.

  15. def writeNullable[T](value: T)(implicit writer: ArrayContextWriter[T]): JsonGenerator

    Writes value in array context or writes null if value is null.

Inherited from AnyVal

Inherited from Any

Ungrouped