p

org.ensime.sexp

formats

package formats

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

Type Members

  1. trait BasicFormats extends AnyRef
  2. class BigDecimalConvertor [T] extends AnyRef
  3. trait CamelCaseToDashes extends AnyRef

    By default, S-Express uses the same field names in the wire format as the code.

    By default, S-Express uses the same field names in the wire format as the code. But some protocols may prefer dashes with Scala code that uses camel case. This mix-in provides that behaviour.

  4. trait CollectionFormats extends AnyRef

    Support for anything with a CanBuildFrom.

  5. trait DefaultSexpProtocol extends BasicFormats with StandardFormats with CollectionFormats with LegacyProductFormats
  6. trait FamilyFormats extends LowPriorityFamilyFormats

    Automatically create product/coproduct marshallers (i.e.

    Automatically create product/coproduct marshallers (i.e. families of sealed traits and case classes/objects) for s-express.

    This uses s-expression data as the underlying format, as opposed to alists. Alists are arguably a better wire format because they allow for arbitrarily complex keys, but we're applying the Principle of Least Power.

    Based on spray-json-shapeless, with the same caveats.

  7. trait LegacyFamilyFormats extends AnyRef

    Helper methods for generating wrappers for types in a family, also known as "type hints".

    Helper methods for generating wrappers for types in a family, also known as "type hints".

    See https://gist.github.com/fommil/3a04661116c899056197

    Will be replaced by a port of spray-json-shapeless.

  8. trait LegacyLowPriorityProductFormats extends AnyRef
  9. trait LegacyProductFormats extends LegacyLowPriorityProductFormats
  10. trait OptionAltFormat extends AnyRef
  11. trait SexpFormatHints extends AnyRef
  12. trait SexpFormats extends AnyRef
  13. trait StandardFormats extends ThreadLocalSupport

    Formats for data types that are so popular that you'd expect them to "just work".

    Formats for data types that are so popular that you'd expect them to "just work".

    Most people might expect Option[T] to output nil for None and the instance for Some, but that doesn't round-trip for nested types (think of Option[List[T]]). Instead we use a one-element list. If you want to have the non-round-trip behaviour, mix in OptionAltFormat.

  14. trait SymbolAltFormat extends AnyRef

Value Members

  1. def deserializationError(got: Sexp): Nothing
  2. def serializationError(msg: String): Nothing
  3. object BigDecimalConvertor
  4. object BigIntConvertor
  5. object DefaultSexpProtocol extends DefaultSexpProtocol
  6. object SexpFormatUtils

    Utility methods for creating custom SexpFormats.

Inherited from AnyRef

Inherited from Any

Ungrouped