Class GraphSONReader

  • All Implemented Interfaces:

    public final class GraphSONReader
    extends Object
    implements GraphReader
    A @{link GraphReader} that constructs a graph from a JSON-based representation of a graph and its elements. This implementation only supports JSON data types and is therefore lossy with respect to data types (e.g. a float will become a double, element IDs may not be retrieved in the format they were serialized, etc.). Edge and Vertex objects are serialized to Map instances. If an Element is used as a key, it is coerced to its identifier. Other complex objects are converted via Object.toString() unless there is a mapper serializer supplied.
    Stephen Mallette (