SocketIOClient-Unreal
SocketIOClient-Unreal copied to clipboard
Json Object to Struct not work?
Question in title.
Steps:
- Construct Json Object (new)
- Decode Json from string or set string field
- check fill by encode json - correct
- Make empty Struct with correct fields
- try Json Object to Struct (return true)
- check by break struct or struct to json - values is empty
But Struct to Json works correctly

Any thoughts?
My bad. I make a new struct, but I'll need to create new Variable and change it

Your answer is correct. You need a variable (local or member) containing a compatible struct which the function fills by reference. In your first graph, the 'make' struct node should always contain the initialized struct with specified default values, if you want those struct values to change it will need to be set to a local or member variable.