Object/Class

com.github.plokhotnyuk.jsoniter_scala.core

JsonWriter

Related Docs: class JsonWriter | package core

Permalink

object JsonWriter

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

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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  12. final def isNonEscapedAscii(ch: Char): Boolean

    Permalink
  13. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  16. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def write[A](codec: JsonCodec[A], x: A, buf: Array[Byte], from: Int, config: WriterConfig = defaultConfig): Int

    Permalink

    Serialize the x argument to the given instance of byte array in UTF-8 encoding of JSON format that specified by provided configuration options or defaults that minimizes output size & time to serialize.

    Serialize the x argument to the given instance of byte array in UTF-8 encoding of JSON format that specified by provided configuration options or defaults that minimizes output size & time to serialize.

    A

    type of value to serialize

    codec

    a codec for the given value

    x

    the value to serialize

    buf

    a byte array where the value should be serialized

    from

    a position in the byte array from which serialization of the value should start

    config

    a serialization configuration

    returns

    number of next position after last byte serialized to buf

    Exceptions thrown

    ArrayIndexOutOfBoundsException if the from is greater than buf length or negative, or buf length was exceeded during serialization

    NullPointerException if the codec, buf or config is null

  22. final def write[A](codec: JsonCodec[A], x: A, config: WriterConfig): Array[Byte]

    Permalink

    Serialize the x argument to a new allocated instance of byte array in UTF-8 encoding of JSON format, that specified by provided configuration options.

    Serialize the x argument to a new allocated instance of byte array in UTF-8 encoding of JSON format, that specified by provided configuration options.

    A

    type of value to serialize

    codec

    a codec for the given value

    x

    the value to serialize

    config

    a serialization configuration

    returns

    a byte array with x serialized to JSON

    Exceptions thrown

    NullPointerException if the codec or config is null

  23. final def write[A](codec: JsonCodec[A], x: A): Array[Byte]

    Permalink

    Serialize the x argument to a new allocated instance of byte array in UTF-8 encoding of JSON format with default configuration options that minimizes output size & time to serialize.

    Serialize the x argument to a new allocated instance of byte array in UTF-8 encoding of JSON format with default configuration options that minimizes output size & time to serialize.

    A

    type of value to serialize

    codec

    a codec for the given value

    x

    the value to serialize

    returns

    a byte array with x serialized to JSON

    Exceptions thrown

    NullPointerException if the codec is null

  24. final def write[A](codec: JsonCodec[A], x: A, out: OutputStream, config: WriterConfig): Unit

    Permalink

    Serialize the x argument to the provided output stream in UTF-8 encoding of JSON format that specified by provided configuration options.

    Serialize the x argument to the provided output stream in UTF-8 encoding of JSON format that specified by provided configuration options.

    A

    type of value to serialize

    codec

    a codec for the given value

    x

    the value to serialize

    out

    an output stream to serialize into

    config

    a serialization configuration

    Exceptions thrown

    NullPointerException if the codec, out or config is null

  25. final def write[A](codec: JsonCodec[A], x: A, out: OutputStream): Unit

    Permalink

    Serialize the x argument to the provided output stream in UTF-8 encoding of JSON format with default configuration options that minimizes output size & time to serialize.

    Serialize the x argument to the provided output stream in UTF-8 encoding of JSON format with default configuration options that minimizes output size & time to serialize.

    A

    type of value to serialize

    codec

    a codec for the given value

    x

    the value to serialize

    out

    an output stream to serialize into

    Exceptions thrown

    NullPointerException if the codec or config is null

Inherited from AnyRef

Inherited from Any

Ungrouped