neo4j / graph-schema-json-js-utils

Utility library to work with the Graph Schema JSON representation
Apache License 2.0
5 stars 8 forks source link

Add JSON serializing abilities to model #11

Closed oskarhane closed 1 year ago

oskarhane commented 1 year ago

This method on a GraphSchemaRepresentation instance will output a valid JSON representation of the graph schema.

const serialized = myModel.toJson();