reming

package reming

Visibility
  1. Public
  2. All

Type Members

  1. trait AdditionalFormats extends AnyRef

    Provides formats and helpers.

  2. trait BasicFormats extends AnyRef

    Provides the streaming formats for numbers, String, and Symbol.

    Provides the streaming formats for numbers, String, and Symbol. Note that the number readers are non-strict in that they will happily round floating-point numbers to Integers.

  3. trait CollectionFormats extends AnyRef

  4. class CompactPrinter extends JsonPrinter

  5. trait DefaultJsonProtocol extends BasicFormats with AdditionalFormats with StandardFormats with CollectionFormats with ProductFormats

    Provides all the predefined JsonFormats.

  6. class DeserializationException extends Exception

    Exception thrown while reading JSON.

  7. trait JsonFormat[T] extends JsonReader[T] with JsonWriter[T]

    Provides the streaming JSON deserialization and serialization for type T.

  8. class JsonParser extends AnyRef

    JSON parser with pull semantics.

    JSON parser with pull semantics. Borrows heavily from the main JsonParser by Mathias Doenitz. Public methods will throw DeserializationException if the expected value isn't next in the input.

  9. abstract class JsonPrinter extends AnyRef

    Printer used for streaming.

  10. trait JsonReader[T] extends AnyRef

    Provides the streaming JSON deserialization for type T, using the JsonParser.

    Provides the streaming JSON deserialization for type T, using the JsonParser.

    Annotations
    @implicitNotFound( ... )
  11. trait JsonWriter[T] extends AnyRef

    Provides the streaming JSON serialization for type T.

    Provides the streaming JSON serialization for type T.

    Annotations
    @implicitNotFound( ... )
  12. trait LazyFormat[T] extends JsonFormat[T]

    Lazy wrapper around serialization, for serializing recursive class hierarchies.

    Lazy wrapper around serialization, for serializing recursive class hierarchies. This is because in a recursive structure, need the format to exist before you can construct it.

  13. trait NullOptions extends ProductFormats

    This trait supplies an alternative rendering mode for optional case class members.

    This trait supplies an alternative rendering mode for optional case class members. Normally optional members that are undefined (None) are not rendered at all. By mixing in this trait into your custom JsonProtocol you can enforce the rendering of undefined members as null. (Note that this only affect JSON writing, reming will always read missing optional members as well as null optional members as None.)

  14. trait ParserInput extends AnyRef

  15. class PrettyPrinter extends JsonPrinter

  16. trait ProductFormats extends AnyRef

  17. class SerializationException extends Exception

    Exception thrown while writing JSON.

  18. trait StandardFormats extends AnyRef

    Provides formats for Option, Either, and Tuple{1-7}.

    Provides formats for Option, Either, and Tuple{1-7}. Option reads 'null' as None, Some otherwise. 'Either' serializes a two-element array, with the first element being 0 for Left, 1 for Right. Tuple1 serializes as a direct literal, while Tuple{2-7} serialize as arrays.

Value Members

  1. object CompactPrinter

  2. object Conversions

    Implicit conversions to make serializing and deserializing simpler.

  3. object DefaultJsonProtocol extends DefaultJsonProtocol

  4. object JsonParser

  5. object JsonReader

  6. object JsonWriter

  7. object ParserInput

  8. object PrettyPrinter

  9. object ProductFormats

Ungrouped