Package

json

tools

Permalink

package tools

Visibility
  1. Public
  2. All

Type Members

  1. trait AccessorRegistry extends AnyRef

    Permalink

    Accessor registry is used to create or resolve a Pickle by using a registry of run-time classes associated to their respective accessor.

    Accessor registry is used to create or resolve a Pickle by using a registry of run-time classes associated to their respective accessor. These must be registered near application startup before use.

    The registry is roughly thread-safe, all operations are idempotent so consistent state is observed by all users.

  2. abstract class Enumerator[T <: tools.Enumerator.Value] extends TypedEnumerator[String, T, JString]

    Permalink
  3. final case class EpochDeadline(time: FiniteDuration) extends Ordered[EpochDeadline] with Product with Serializable

    Permalink
  4. trait FiniteDurationSecondsAccessor extends JSONAccessorProducer[FiniteDuration, JNumber]

    Permalink

    Base trait for FiniteDurationSecondsAccessor, useful for extending if needed.

  5. trait Migration[T] extends AnyRef

    Permalink

    Represents a single migration to a specified version

    Represents a single migration to a specified version

    T

    The version type

  6. case class Pickle(data: JValue, className: String) extends Product with Serializable

    Permalink

    This is the actual object that is serialized to JSON to represent the 'pickled' data.

    This is the actual object that is serialized to JSON to represent the 'pickled' data.

    data

    - The generic 'pickled' data, to be used by the accessor that is looked up via the registry.

    className

    - The class name that is used to look up the accessor via the registry.

  7. abstract class TypedEnumerator[K, T <: Value, +J <: JValue] extends AnyRef

    Permalink

Value Members

  1. object AccessorRegistry extends AccessorRegistry

    Permalink

    Global singleton implementation of the registry.

  2. object EpochDeadline extends Ordering[EpochDeadline]

    Permalink
  3. object FiniteDurationSecondsAccessor extends FiniteDurationSecondsAccessor

    Permalink

    Serializes FiniteDuration as the floating-point number of seconds with fractional component.

    Serializes FiniteDuration as the floating-point number of seconds with fractional component. This is not globally implicit because it is use-case dependant and should generally only be imported into the specific scope that it's needed.

  4. object Migration

    Permalink
  5. object Pickle extends Serializable

    Permalink

Ungrouped