JSON Variables

String variables are all fine and well. You can’t use them as input to components, which makes them somewhat unusable, but they’d be all fine and well if you could. The existence of strings, however, does leave you wanting more interesting data structures to use while designing.

On that note (provided that the abovementioned component-input-issue is resolved) I’d like to have the option to use json in my designs - this would make it much easier to prototype using realistic data while also providing an opportunity for generating sample input data to stress-test your design (the latter probably coming from plugins).

For example, I would like to use the following “projectData” json as a component input to a “projectView” component:

{
“projectName”: “MyProject”,
“projectCreationDate”: {
“year”: “2024”,
},
}

In this view, any text field named “projectCreationDate.year” would resolve to 2024, any text field named “projectName” would resolve to “MyProject”.

I’m sure there are more clever ways to handle the binding, this is just an example to illustrate my idea/need.

Thanks!