Xlinka / NeosPlus

NeosVR Plugin Extra Logix nodes and features
https://discord.gg/9QAaMtXwke
Other
29 stars 19 forks source link

JSON > Add to Object only gives null value #125

Closed sirkitree closed 1 year ago

sirkitree commented 1 year ago

Hi, thanks so much for the JSON nodes!

I'm finally getting around to testing them out for a project and I'm noticing that the Add To Object doesn't seem to work as I expect. I'm unsure if this is a bug or just a mistake on my part.

You can see in the provided screenshot, I'm passing in a JObject and trying to add a string and an int, both resulting in a null value. 20230405104124_1

Perhaps a separate issue (nitpicking here) but maybe it should be called "Append To Object" to match with the "Append to Array".

Frozenreflex commented 1 year ago

I just pushed a commit that should fix it. The array methods are named as such because Append and Insert operations function differently, Add does not function the same as either of them.

Xlinka commented 1 year ago

This should be fixed now with the code on the GitHub now building it separately will allow the use until a release.