case object Json extends Target with Product with Serializable

Linear Supertypes
Serializable, Product, Equals, Target, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Json
  2. Serializable
  3. Product
  4. Equals
  5. Target
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. final case class DecodingConfig(readIntegersAlsoAsFloatingPoint: Boolean = true, readDecimalNumbersOnlyAsNumberStrings: Boolean = false, maxNumberAbsExponent: Int = 64, maxStringLength: Int = 1024 * 1024, maxNumberMantissaDigits: Int = 34, initialCharbufferSize: Int = 2048, allowBufferCaching: Boolean = true, allowDirectParsing: Boolean = true) extends Borer.DecodingConfig with Config with Product with Serializable

    readIntegersAlsoAsFloatingPoint

    set to false to disable automatic conversion of integer to floating point values

    readDecimalNumbersOnlyAsNumberStrings

    set to true to disable the fast, immediate conversion of JSON numbers to Double values where easily possible. In rare cases this might be necessary to allow for maximum possible precision when reading 32-bit Float values from JSON. (see https://github.com/sirthias/borer/issues/20 for more info on this)

    maxNumberAbsExponent

    the maximum absolute exponent value to accept in JSON numbers

    maxStringLength

    the maximum string length to accept Note: For performance reasons this is a soft limit, that the parser will sometimes overstep. The only guarantee is that it will never accept Strings that are more than twice as long as the this limit.

    maxNumberMantissaDigits

    the maximum number of digits to accept before the exponent in JSON numbers

    initialCharbufferSize

    the initial size of the parser's Char buffer. Will grow to the max string length in the document rounded up to the next power of two

  2. final case class EncodingConfig(bufferSize: Int = 1024, allowBufferCaching: Boolean = true) extends Borer.EncodingConfig with Product with Serializable
  3. final case class TransDecodingConfig(readIntegersAlsoAsFloatingPoint: Boolean = true, readDoubleAlsoAsFloat: Boolean = false) extends Config with Product with Serializable

    readIntegersAlsoAsFloatingPoint

    set to false to disable automatic conversion of integer to floating point values

    readDoubleAlsoAsFloat

    set to false to disable automatic conversion of Double to Float values

  4. final case class TransEncodingConfig(maxBufferSize: Int = 16384, allowBufferCaching: Boolean = true, compressFloatingPointValues: Boolean = true) extends Borer.TransEncodingConfig with Product with Serializable

    maxBufferSize

    the max number of transcoding elements (not bytes!) that can be buffered

    compressFloatingPointValues

    set to false in order to always write floats as 32-bit values and doubles as 64-bit values, even if they could safely be represented with fewer bits

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. def decode[T](value: T)(implicit p: Provider[T]): Api[DecodingConfig]

    Entry point into the JSON decoding mini-DSL.

    Entry point into the JSON decoding mini-DSL.

    Definition Classes
    JsonTarget
  7. def encode[T](value: T)(implicit arg0: Encoder[T]): JsonApi[T, EncodingConfig]

    Entry point into the JSON encoding mini-DSL.

    Entry point into the JSON encoding mini-DSL.

    Definition Classes
    JsonTarget
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. def productElementName(n: Int): String
    Definition Classes
    Product
  16. def productElementNames: Iterator[String]
    Definition Classes
    Product
  17. def reader[T](value: T, config: DecodingConfig = DecodingConfig.default, receiverWrapper: Wrapper[DecodingConfig] = Receiver.nopWrapper)(implicit p: Provider[T]): Reader

    Constructs a new Reader that reads JSON from the given Input.

  18. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  19. def transEncode[T](value: T)(implicit arg0: Encoder[T]): EncodingApi[TransEncodingConfig, TransDecodingConfig]

    Entry point into the JSON transcoding mini-DSL.

    Entry point into the JSON transcoding mini-DSL.

    Definition Classes
    JsonTarget
  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. def writer(output: Output, config: EncodingConfig = EncodingConfig.default, receiverWrapper: Wrapper[EncodingConfig] = Receiver.nopWrapper): Writer

    Constructs a new Writer that writes JSON to the given Output.

  24. object DecodingConfig extends Serializable
  25. object EncodingConfig extends Serializable
  26. object TransDecodingConfig extends Serializable
  27. object TransEncodingConfig extends Serializable

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Target

Inherited from AnyRef

Inherited from Any

Ungrouped