Evangela Posted July 29, 2023 Share Posted July 29, 2023 (edited) My json file, which is just for testing: { "string" : { "charactername" : "test", } }My question: How do I change "string" to something else? I'm trying to read(parse) this file with C# but because it matches the data type of the same name, I can't create a C# property for it and thus can't read the file. I can add more members, but I can't add additional objects for the JSON file and it appears that nested objects is not allowed outside of the one created from the plugin. I'm using SetStringValue if that helps. EDIT: Was just a syntax issue and need to use SetPathXXValue to write to the proper objects and its members and also the syntax for nested objects is ".objName1.objName2"(the first dot is for the root). If you don't do that and instead try it with SetStringValue, the plugin will create an object and name it string. Edited July 29, 2023 by Rasikko Link to comment Share on other sites More sharing options...
Recommended Posts