Replies: 1 comment
-
This was correct, I ended up finding the error in my code. I was not pathing correctly my json file. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to use the decode_json object to parse through a json file and put it into my own custom class of "ship"
I couldn't find any examples that involved a json array. Is this possible? Can I do an array of a specific type. For example, "customFighter" would be a vector of custom strings and "weaponClass" would be a vector of enums. Is vector the correct object? My test class setup would be something like this:
Thanks for the help!
Beta Was this translation helpful? Give feedback.
All reactions