You can, but you’re missing a few bits of memory serves, and I am not at a PC to test (2 week holiday). You can try googling the error as this type of Python function is not unique to Dynamo you’re apt to get a solution via stack exchange, geeks for geeks, or stack overflow post. You can also look into the code in the zip posted below as I recall that does a bunch with the JSON module.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Exporting/importing Dynamo lists to/from string | 7 | 597 | March 3, 2021 | |
| JSON Manipulation in Dynamo | 6 | 1141 | March 8, 2021 | |
| Inputs to json via python | 8 | 508 | March 2, 2023 | |
| JsonData Package | 31 | 9711 | March 31, 2021 | |
| Updating python node in multiple scripts | 21 | 1533 | September 22, 2023 |