# \#json

**URL:** https://discourse.mcneel.com/tag/json/1307.md

[Latest](https://discourse.mcneel.com/latest.md) · [Categories](https://discourse.mcneel.com/categories.md) · [Tags](https://discourse.mcneel.com/tags.md)

---

## [GhJSON - A JSON Standard for Grasshopper](https://discourse.mcneel.com/t/ghjson-a-json-standard-for-grasshopper/215646)

<div class="topic-metadata">

**Author:** [@mrocam9](https://discourse.mcneel.com/u/mrocam9)\
**Replies:** 6\
**Last updated:** [November 18, 2026, 11:52am UTC](https://discourse.mcneel.com/t/ghjson-a-json-standard-for-grasshopper/215646 "2026-11-18T11:52:01Z")

</div>

I’m excited to announce GhJSON, a new JSON-based standard for representing Grasshopper definitions. What started as an internal need for SmartHopper has evolved into a reusable, open-source library that hopefully will be…

---

## [Gorules.io](https://discourse.mcneel.com/t/gorules-io/213704)

<div class="topic-metadata">

**Author:** [@Magnus\_Rathenborg](https://discourse.mcneel.com/u/Magnus_Rathenborg)\
**Replies:** 0\
**Last updated:** [December 16, 2025, 1:30pm UTC](https://discourse.mcneel.com/t/gorules-io/213704 "2025-12-16T13:30:23Z")

</div>

Hi, I am wondering if anyone know about Gorules.io where you can build decision trees and more. In the end it can be exported as JSON og Excel. I like it because it reminds me of Grasshopper, but it is also a bit restri…

---

## [Provide informations for animation in best possible way for web developer](https://discourse.mcneel.com/t/provide-informations-for-animation-in-best-possible-way-for-web-developer/145613)

<div class="topic-metadata">

**Author:** [@combeenation](https://discourse.mcneel.com/u/combeenation)\
**Replies:** 4\
**Last updated:** [July 25, 2024, 3:44pm UTC](https://discourse.mcneel.com/t/provide-informations-for-animation-in-best-possible-way-for-web-developer/145613 "2024-07-25T15:44:34Z")

</div>

Hi there! I really like the way how it is possible to provide information for animations in a .json file. The process is very clear in the “Part3\_closet-demo.gh” example file you provided in the latest webinar. It is p…

---

## [Export JSON format through Python component in grasshopper](https://discourse.mcneel.com/t/export-json-format-through-python-component-in-grasshopper/183084)

<div class="topic-metadata">

**Author:** [@Lasse\_Haaning\_Friis](https://discourse.mcneel.com/u/Lasse_Haaning_Friis)\
**Replies:** 2\
**Last updated:** [May 30, 2024, 4:09pm UTC](https://discourse.mcneel.com/t/export-json-format-through-python-component-in-grasshopper/183084 "2024-05-30T16:09:07Z")

</div>

Hello Rhino community, When i try to export, through the below python script, the format isn’t as wished… i linked to JSON formats, the one which i get when export, and the one i want. i simply created the wanted JSON f…

---

## [How to read json file into grasshopper?](https://discourse.mcneel.com/t/how-to-read-json-file-into-grasshopper/180696)

<div class="topic-metadata">

**Author:** [@Lasse\_Haaning\_Friis](https://discourse.mcneel.com/u/Lasse_Haaning_Friis)\
**Replies:** 8\
**Last updated:** [April 24, 2024, 1:12pm UTC](https://discourse.mcneel.com/t/how-to-read-json-file-into-grasshopper/180696 "2024-04-24T13:12:45Z")

</div>

Hello Rhino forum, I’m trying to read a json file consisting of 1500 strings. though it seemslike a panel only can contain 1425 strings / index. Is there a way that i can somehow import / read a big json file into gras…

---

## [Automating dumping to json - Python in Grasshopper](https://discourse.mcneel.com/t/automating-dumping-to-json-python-in-grasshopper/179209)

<div class="topic-metadata">

**Author:** [@Inge\_Donovan](https://discourse.mcneel.com/u/Inge_Donovan)\
**Replies:** 2\
**Last updated:** [April 2, 2024, 7:23pm UTC](https://discourse.mcneel.com/t/automating-dumping-to-json-python-in-grasshopper/179209 "2024-04-02T19:23:08Z")

</div>

Hi all, I have a simple question that I can’t seem to find an answer to. I have a workflow in grasshopper that loops through a json, does a bunch of complicated stuff, and then needs to write a unique json for each succe…

---

## [How to Deserialize JSON in Rhino3dm](https://discourse.mcneel.com/t/how-to-deserialize-json-in-rhino3dm/177000)

<div class="topic-metadata">

**Author:** [@csykes](https://discourse.mcneel.com/u/csykes)\
**Replies:** 4\
**Last updated:** [March 7, 2024, 2:22pm UTC](https://discourse.mcneel.com/t/how-to-deserialize-json-in-rhino3dm/177000 "2024-03-07T14:22:55Z")

</div>

I would like to take a json representation of a GeometryBase that has been ToJson’d using RhinoCommon.CommonObject.ToJson(...) and deserialize it in Rhino3dm (I am using 8.4.0). I’m a bit confused, the docs do show a Ge…

---

## [Issue when reading json file in Grasshopper](https://discourse.mcneel.com/t/issue-when-reading-json-file-in-grasshopper/175562)

<div class="topic-metadata">

**Author:** [@Leonardo\_Pappas](https://discourse.mcneel.com/u/Leonardo_Pappas)\
**Replies:** 0\
**Last updated:** [February 13, 2024, 5:46pm UTC](https://discourse.mcneel.com/t/issue-when-reading-json-file-in-grasshopper/175562 "2024-02-13T17:46:42Z")

</div>

Hey, I have a python script (run\_grasshopper.py) that makes a json input (input.json) go through a gh file (polygon\_json.gh) and the output is a polygon in rhino (geometry.3dm). polygon\_json.gh consists of: (Notes:…

---

## [Brep vs Conduit vs JSON](https://discourse.mcneel.com/t/brep-vs-conduit-vs-json/168935)

<div class="topic-metadata">

**Author:** [@MateuszZwierzycki](https://discourse.mcneel.com/u/MateuszZwierzycki)\
**Replies:** 9\
**Last updated:** [November 17, 2023, 4:14pm UTC](https://discourse.mcneel.com/t/brep-vs-conduit-vs-json/168935 "2023-11-17T16:14:16Z")

</div>

I have this simplifed way of unit testing RhinoCommon-based software which is comparing the Actual/Expected geometries by comparing the JSON strings obtained in serialization. When comparing Breps that way, I noticed tha…

---

## [Using GeometryBase.FromJson / GeometryBase.ToJson between Versions](https://discourse.mcneel.com/t/using-geometrybase-fromjson-geometrybase-tojson-between-versions/169329)

<div class="topic-metadata">

**Author:** [@csykes](https://discourse.mcneel.com/u/csykes)\
**Replies:** 1\
**Last updated:** [November 16, 2023, 3:30am UTC](https://discourse.mcneel.com/t/using-geometrybase-fromjson-geometrybase-tojson-between-versions/169329 "2023-11-16T03:30:18Z")

</div>

Good evening Rhino fans, I’m working on a plugin called Crash for multi-user Rhino, and I’ve finished up most of it now, hoping to release it soon. Somewhere within the last 6 months something seems to have changed when…

---

## [ASP.NET web API C# JSON de/serializing issue](https://discourse.mcneel.com/t/asp-net-web-api-c-json-de-serializing-issue/168220)

<div class="topic-metadata">

**Author:** [@matous.stieber](https://discourse.mcneel.com/u/matous.stieber)\
**Replies:** 2\
**Last updated:** [November 1, 2023, 7:51am UTC](https://discourse.mcneel.com/t/asp-net-web-api-c-json-de-serializing-issue/168220 "2023-11-01T07:51:26Z")

</div>

Hi, I am aiming to create a Grasshopper component which communicates with a web API without using Rhino.Compute. I am using a ASP.NET web API template running on a local server. I was able to create successfully multip…

---

## [Lunchbox DataTable breaking with float input](https://discourse.mcneel.com/t/lunchbox-datatable-breaking-with-float-input/127161)

<div class="topic-metadata">

**Author:** [@matt.johnson1253](https://discourse.mcneel.com/u/matt.johnson1253)\
**Replies:** 1\
**Last updated:** [September 8, 2023, 8:22am UTC](https://discourse.mcneel.com/t/lunchbox-datatable-breaking-with-float-input/127161 "2023-09-08T08:22:31Z")

</div>

Hi all, I’m trying to use LunchBox to export numerical data from Grasshopper as a JSON file. However the DataTable component simply returns a null value from my data. It works when I use a test series or round my data…

---

## [XML camera settings](https://discourse.mcneel.com/t/xml-camera-settings/156613)

<div class="topic-metadata">

**Author:** [@Federico\_Giacomarra](https://discourse.mcneel.com/u/Federico_Giacomarra)\
**Replies:** 0\
**Last updated:** [March 17, 2023, 3:45pm UTC](https://discourse.mcneel.com/t/xml-camera-settings/156613 "2023-03-17T15:45:43Z")

</div>

hi Guys i am trying to import xml camera settings, but not sure how the values would convert in the rhino camera settings can anybody give some advice?

---

## [Spectacles - View modification](https://discourse.mcneel.com/t/spectacles-view-modification/148173)

<div class="topic-metadata">

**Author:** [@tommasovidali94](https://discourse.mcneel.com/u/tommasovidali94)\
**Replies:** 1\
**Last updated:** [September 23, 2022, 8:49am UTC](https://discourse.mcneel.com/t/spectacles-view-modification/148173 "2022-09-23T08:49:00Z")

</div>

Hi all, I am exporting a series of .json files with Spectacles and I am having a problem setting the view modification since the component is asking me for a Goo data type. I would like to have a preset view, so that wh…

---

## [Generate JSON with mesh loads after update 2.2.0.15](https://discourse.mcneel.com/t/generate-json-with-mesh-loads-after-update-2-2-0-15/145481)

<div class="topic-metadata">

**Author:** [@Vera\_Sluijter](https://discourse.mcneel.com/u/Vera_Sluijter)\
**Replies:** 2\
**Last updated:** [July 20, 2022, 11:39am UTC](https://discourse.mcneel.com/t/generate-json-with-mesh-loads-after-update-2-2-0-15/145481 "2022-07-20T11:39:00Z")

</div>

Hi all, I am generating a structural model in Karamba and want to convert it to JSON. This all worked fine when I had Karamba 2.2.0.10. I now updated it to version 2.2.0.15. Since then, I can not generate a JSON anymore…

---

## [How to read a Json file from a url?](https://discourse.mcneel.com/t/how-to-read-a-json-file-from-a-url/141971)

<div class="topic-metadata">

**Author:** [@alexander.gilje](https://discourse.mcneel.com/u/alexander.gilje)\
**Replies:** 5\
**Last updated:** [May 2, 2022, 1:40pm UTC](https://discourse.mcneel.com/t/how-to-read-a-json-file-from-a-url/141971 "2022-05-02T13:40:06Z")

</div>

How to read a Json file from a url?

---

## [Draco encode mesh object in rhino3dm.js](https://discourse.mcneel.com/t/draco-encode-mesh-object-in-rhino3dm-js/139432)

<div class="topic-metadata">

**Author:** [@erikforsberg95](https://discourse.mcneel.com/u/erikforsberg95)\
**Replies:** 5\
**Last updated:** [March 17, 2022, 3:00pm UTC](https://discourse.mcneel.com/t/draco-encode-mesh-object-in-rhino3dm-js/139432 "2022-03-17T15:00:53Z")

</div>

Hi! I know that this question has been asked quite a lot but I was not able to find a solution to my specific problem, so I’m posting again. I have a rhino mesh in javascript that I’d like to encode into a draco compres…

---

## [JSON data Export and import](https://discourse.mcneel.com/t/json-data-export-and-import/136734)

<div class="topic-metadata">

**Author:** [@user883](https://discourse.mcneel.com/u/user883)\
**Replies:** 4\
**Last updated:** [January 24, 2022, 7:17am UTC](https://discourse.mcneel.com/t/json-data-export-and-import/136734 "2022-01-24T07:17:24Z")

</div>

I have keys and values which I want to convert it to JSON objects and save in text file from grasshopper . and I want to import it from the text file in grasshopper and get the same data . any plugin for that json ques…

---

## [Input from JSON from a remote server or from client](https://discourse.mcneel.com/t/input-from-json-from-a-remote-server-or-from-client/129502)

<div class="topic-metadata">

**Author:** [@Balazs\_Kisfali](https://discourse.mcneel.com/u/Balazs_Kisfali)\
**Replies:** 6\
**Last updated:** [August 31, 2021, 1:03pm UTC](https://discourse.mcneel.com/t/input-from-json-from-a-remote-server-or-from-client/129502 "2021-08-31T13:03:34Z")

</div>

I am creating some geometry based on user inputs and I’m creating a JSON object from all information which the geometry generation needs. This works ok in a local env in GH but I am not sure how to implement it to Shaped…

---

## [Load ShapeDiver model with parameters NOT coming from the GH file](https://discourse.mcneel.com/t/load-shapediver-model-with-parameters-not-coming-from-the-gh-file/124729)

<div class="topic-metadata">

**Author:** [@lukas.schiller](https://discourse.mcneel.com/u/lukas.schiller)\
**Replies:** 2\
**Last updated:** [May 26, 2021, 8:11am UTC](https://discourse.mcneel.com/t/load-shapediver-model-with-parameters-not-coming-from-the-gh-file/124729 "2021-05-26T08:11:32Z")

</div>

Hi everyone, I wanna build a configurator that opens each time with a different preloaded shape based on some values coming from an App. So the user does some stuff in this App and then gets access to the configurator.…

---

## [Nested JSON string prettyprint correctly](https://discourse.mcneel.com/t/nested-json-string-prettyprint-correctly/123709)

<div class="topic-metadata">

**Author:** [@tobias.stoltmann](https://discourse.mcneel.com/u/tobias.stoltmann)\
**Replies:** 4\
**Last updated:** [May 6, 2021, 10:27am UTC](https://discourse.mcneel.com/t/nested-json-string-prettyprint-correctly/123709 "2021-05-06T10:27:37Z")

</div>

Hello, this might be a rather odd question and acutally has nothing to do with Rhino. But as I want to embed a nested JSON-string in a block description, I thought it might be okay to put that here. I have the followi…

---

## [Problem loading jSwan plugin](https://discourse.mcneel.com/t/problem-loading-jswan-plugin/120165)

<div class="topic-metadata">

**Author:** [@emadsiddik](https://discourse.mcneel.com/u/emadsiddik)\
**Replies:** 1\
**Last updated:** [March 12, 2021, 7:39am UTC](https://discourse.mcneel.com/t/problem-loading-jswan-plugin/120165 "2021-03-12T07:39:51Z")

</div>

I am using Rhino Version 7 on windows 10 , and I have problem in loading jSwan plugin, and I got the following error message : Command: \_Grasshopper An error occured during GHA assembly loading: Path: C:\\Users\\Z Works…

---

## [JSON import of large catalogue](https://discourse.mcneel.com/t/json-import-of-large-catalogue/106344)

<div class="topic-metadata">

**Author:** [@asfp](https://discourse.mcneel.com/u/asfp)\
**Replies:** 2\
**Last updated:** [July 29, 2020, 3:50pm UTC](https://discourse.mcneel.com/t/json-import-of-large-catalogue/106344 "2020-07-29T15:50:16Z")

</div>

What is the best strategy for importing JSON files containing component attributes (dimensions, location of drilling holes, material etc). Is it better to: Import one ‘large’ JSON file (it is not huge, about 40kb), f…

---

## [Rebuilding Geometry/3dm file from serialized JSON](https://discourse.mcneel.com/t/rebuilding-geometry-3dm-file-from-serialized-json/104370)

<div class="topic-metadata">

**Author:** [@blind](https://discourse.mcneel.com/u/blind)\
**Replies:** 2\
**Last updated:** [July 16, 2020, 11:38am UTC](https://discourse.mcneel.com/t/rebuilding-geometry-3dm-file-from-serialized-json/104370 "2020-07-16T11:38:21Z")

</div>

Hi there, I’m trying to JSON serialize my Rhino-file or Geometry so I can send it to and retrieve it from a database. So I’m stuck in two places: Can I retrieve a File3dm object of the Rhino ActiveDoc without writin…

---

## [Weird JSON object behavior?](https://discourse.mcneel.com/t/weird-json-object-behavior/101923)

<div class="topic-metadata">

**Author:** [@maximbroos](https://discourse.mcneel.com/u/maximbroos)\
**Replies:** 3\
**Last updated:** [May 12, 2020, 11:16am UTC](https://discourse.mcneel.com/t/weird-json-object-behavior/101923 "2020-05-12T11:16:04Z")

</div>

Hey Devs, Just a quick one to point out that I personally think that the ShapediverJSONConstruct object does not act the way i would expect it to work: See below when I add 3 text strings to 3 JSON objects. It copies t…
