Skip to content
alvpickmans edited this page Feb 7, 2018 · 6 revisions

JsonData for Dynamo

Welcome to the wiki page for the Dynamo package JsonData, a small but powerfull set of tools to help you boost and streamline your workflow.

Why JsonData?

Everything started when trying to export quite a lot of data from Revit to a format that could be easily readable. Using excel or csv was indeed an option, but after a few years fiddling with web applications, I was very keen to see my data in json format.

The working example was achieved by using python and a extremely complex list input. Although working, the preprocess to get the appropiate list structure was just too much.

After that I soon realized it could be easier by creating a Zero Touch package which could handle the logic and presenting a few nodes in order to create the json-looking format.

JsonData in a nutshell

The JsonData package is based on c# Dictionaries, providing a handful of methods to the user via custom nodes like addition, merging, sorting, filtering, etc.

The json part of the package comes as the display method selected, making use of the Newtonsoft library to "render" the dictionaries into a friendly and readable output. It also provides methods to parse, read and write to other format types like CSV and XML, making the package quite useful to import data from different sources (including web!) to Dynamo and Revit.

Go to the Package Content page for a more detailed explanation of the package's functionality and tools.

What's next

JsonData is a package made as a hobby and developed every now and then. It might be basic, but it completely achieves its purpose.

The coming release of Dynamo 2.0 will expose c# Dictionaries to the user interface, providing similar functionalities as this package. So maybe in the future this pacakge will get obsoleted, but for now here you have!