Connected JSON

Connected JSON (CJ) is a JSON format used to model graph data structures. CJ is the logical successor to GraphML. The conceptual model of both formats is almost identical. CJ, being designed 20 years later, is more flexible for adding JSON data to graph entities.

See the current spec. GraphInOut implements the v0.5 strict variant.

FeatureSupportNotes
Attributes on EdgesVia data property
Attributes on GraphsVia data property
Attributes on NodesVia data property
Directed EdgesVia in/out endpoint directions
Edge LabelsMultilingual support
Edges on Edges
HyperedgesN-ary endpoints
Mixed-directionality EdgesEach endpoint specifies own direction
Multiple Graphs per DocumentVia graphs array
Nested Graphs in EdgesVia graphs property (compound edges)
Nested Graphs in Graphs
Nested Graphs in NodesVia graphs property (compound nodes)
Node LabelsMultilingual support
Nodes
Typed EdgesVia type, typeUri, typeNode
Undirected EdgesVia undir endpoint direction

None of the existing JSON graph interchange formats has the same breadth of features as the over 20-year-old XML-based GraphML. Connected JSON aims to be a full GraphML replacement. It supports the semantic capabilities and data representation found in GraphML, while adopting a more flexible, schema-less JSON approach.

Input Content

Paste or Edit Content

Upload File

Drop files here or click to browse

Input Format

Loading input formats...

Output Format