JSON-based format for Grasshopper definitions
GhJSON is a JSON-based format for representing Grasshopper definitions. It provides a human-readable, portable way to serialize and deserialize Grasshopper documents.
GhJSON also defines a sibling GhPatch format for representing diffs and partial edits on GhJSON documents.
.ghjson extension..ghpatch extension.https://architects-toolkit.github.io/ghjson-spec/schema/v1.0/ghjson.schema.json
https://architects-toolkit.github.io/ghjson-spec/schema/v1.0/ghpatch.schema.json
{
"schema": "1.0",
"components": [
{
"name": "Number Slider",
"instanceGuid": "11111111-1111-1111-1111-111111111111",
"id": 1,
"pivot": "100,100",
"componentState": {
"extensions": {
"gh.numberslider": {
"value": "5<0~10>"
}
}
}
}
]
}