JSON FORMAT

Connected JSON5

The JSON5 (JSON with comments) variant of Connected JSON

Connected JSON5 has no difference to Connected JSON except that it uses JSON5, JSON for Humans, instead of plain JSON. JSON5 relaxes/extends the JSON format with JS-style line-end (//) and inline comments (/* ... */). And arrays may have a single trailing comma, finally.

Alternative Names: CJ5

File Extensions: .cj.json5.json5
FeatureThe JSON5 (JSON with comments) variant of format:connected-json
Multiple Graphs per Document supported
Nodes supported
Undirected Edges supported
Directed Edges supported
Hyperedges supported
Mixed-directionality Edges supported
Parallel Edges supported
Self-loops supported
Edges on Edges not supported
Nested Graphs in Nodes supported
Nested Graphs in Edges supported
Nested Graphs in Graphs supported
Node Labels supported
Edge Labels supported
Attributes on Nodes supported
Attributes on Edges supported
Attributes on Graphs supported
Typed Edges supported

Tools(Read & Write)

Frequently Asked Questions

What is a The JSON5 (JSON with comments) variant of format:connected-json file?

A The JSON5 (JSON with comments) variant of Connected JSON file stores a graph — its nodes, edges and attributes — in the The JSON5 (JSON with comments) variant of Connected JSON format (also: CJ5). See the feature table above for what it supports.

How do I open a The JSON5 (JSON with comments) variant of format:connected-json file?

Open it in a graph tool that supports The JSON5 (JSON with comments) variant of Connected JSON, or convert it to a format your tool reads. With GraphInOut you can convert The JSON5 (JSON with comments) variant of Connected JSON to GraphML, DOT, Connected JSON and more, right in your browser.

How do I convert a The JSON5 (JSON with comments) variant of format:connected-json file to another format?

Use the Convert from The JSON5 (JSON with comments) variant of Connected JSON link above: upload or paste your The JSON5 (JSON with comments) variant of Connected JSON file (input preset to The JSON5 (JSON with comments) variant of Connected JSON), choose a target format and download the result — free, no install.