VaRest icon indicating copy to clipboard operation
VaRest copied to clipboard

Is there a way to create a Json object as an instance variable?

Open dtb49 opened this issue 4 years ago • 4 comments

This is probably a silly question. (and probably not possible) However, is there a way to create a Json object through something like a public instance of a variable where it is settable in the editor similar to how the MakeJson node works inside Blueprints?

Essentially, it would be really nice if I could create a Json object on an instance of a class through something like a public variable.

Instead of it showing up like this: image

It would look something more similarly to this: (with however the added ability to insert a value also) image

dtb49 avatar Oct 30 '20 19:10 dtb49

Currently it's not possible, I'll think about it as a possible feature

ufna avatar Oct 30 '20 21:10 ufna

image

So this doesnt work?

Gatts011 avatar Nov 03 '20 13:11 Gatts011

No, there is no inline constructor for this.

ufna avatar Nov 03 '20 14:11 ufna

No, there is no inline constructor for this.

ok, thanks for the response. Will try add the constructor and push if I can find the time

Gatts011 avatar Nov 03 '20 14:11 Gatts011