Packages

package serializer

Lift-JSON Serializers that convert from/to unnamed JSON values and edge data containers (parameters) covering all predefined edge types. They allow to save space as default Lift-JSON serializers would require the JSON text to contain JFields for every node and edge.

Linear Supertypes
Content Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. serializer
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. trait DiHyperEdgeChecker extends AnyRef
    Attributes
    protected
  2. class DiHyperEdgeSerializer extends Serializer[DiHyperEdgeParameters] with DiHyperEdgeChecker

    Serializes DiHyperEdgeParameters to a JSON object of the form { sources: ["<s1>",...,"<sn>"], targets: ["<t1>",...,"<tn>"] } and reversely where <s?> and <t?> represent the the source respectively target node-Ids.

  3. class EdgeSerializer extends Serializer[EdgeParameters]

    Serializes EdgeParameters to a JSON array of the form ["<n1>","<n2>"] and reversely where <n1> and <n2> represent the node-Ids.

  4. final class GraphSerializer[N, E <: Edge[N]] extends Serializer[AnyGraph[N, E]]

    This custom serializer is to be registered whenever a class to be (de)serialized contains any Graph instances.

    This custom serializer is to be registered whenever a class to be (de)serialized contains any Graph instances. For usage see scalax.collection.io.json.serializer.TGraphSerializer.

  5. trait HyperEdgeChecker extends AnyRef
    Attributes
    protected
  6. class HyperEdgeSerializer extends Serializer[HyperEdgeParameters] with HyperEdgeChecker

    Serializes HyperEdgeParameters to a JSON array of the form ["<n1>",...,"<nn>"] and reversely where <n1>...<nn> represent the node-Ids.

  7. class LDiHyperEdgeSerializer[L] extends LSerializer[L] with Serializer[LDiHyperEdgeParameters[L]] with DiHyperEdgeChecker

    Serializes LDiHyperEdgeParameters to a JSON array of the form { sources: ["<s1>",...,"<sn>"], targets: ["<t1>",...,"<tn>"],

  8. class LEdgeSerializer[L] extends LSerializer[L] with Serializer[LEdgeParameters[L]]

    Serializes LEdgeParameters to a JSON array of the form ["<n1>", "<n2>",

  9. class LHyperEdgeSerializer[L] extends LSerializer[L] with Serializer[LHyperEdgeParameters[L]] with HyperEdgeChecker

    Serializes LHyperEdgeParameters to a JSON array of the form [ ["<n1>",...,"<nn>"],

  10. abstract class LSerializer[L] extends AnyRef

  11. class PositionedSerializer[A] extends CustomSerializer[A]
  12. class Tuple2Serializer[A, B] extends CustomSerializer[(A, B)]

    Converts (A, B) to a JArray of any two JValues as opposed to JFields.

  13. class Tuple3Serializer[A, B, C] extends CustomSerializer[(A, B, C)]

    Converts (A, B, C) to a JArray of any three JValues as opposed to JFields.

  14. class WEdgeSerializer extends Serializer[LEdgeParameters[Double]]

    Serializes LEdgeParameters[Double] to a JSON array of the form ["<n1>", "<n2>", <weight>] and reversely where <n1> and <n2> represent the node-Ids and <weight> a JSON number mapping to Double.

Value Members

  1. def couldNotConvertException(j: JValue, clazz: Class[_]): MappingException
  2. object BigIntSerializer extends PositionedSerializer[BigInt]

    Converts an BigInt to a JInt as opposed to JField.

    Converts an BigInt to a JInt as opposed to JField. To use this for Int or Long, import the corresponding implicit conversions provided by BigInt.

  3. object BooleanSerializer extends PositionedSerializer[Boolean]

    Converts a Boolean to a JBool as opposed to JField.

  4. object CharSerializer extends PositionedSerializer[Char]

    Converts a Char to a JString as opposed to JField.

  5. object DoubleSerializer extends PositionedSerializer[Double]

    Converts a Double to a JDouble as opposed to JField.

  6. object StringSerializer extends PositionedSerializer[String]

    Converts a String to a JString as opposed to JField.

Inherited from AnyRef

Inherited from Any

Ungrouped