I’ve looked around the forums as I’m sure this has been asked before but coudln’t find the topic.
I’ve just begun to implement the GH_IO.Serialization reader and writer objects in a new library I’m working on where I want to provide robust data (de)serialization.
Below is a simple example where I’m prompting the user to select a network location using the Windows Folder Browser Dialog and then developing a component to incrementally rename analysis result files and save them to the folder.
When I save the file and reopen (expecting the directory path to still be present), the Select Folder component jumps to the canvas 0,0 position and I get an error stating that the component failed to deserialize correctly.
Can anyone see if I am not calling the reader and writer overrides correctly, or is it as simple as not allowing whitespace characters in the string writer method? Link to code snippet: https://codeshare.io/5emgbx
Thanks in advance