For loading lists EasySaves provides a method and there also exists a node in the integration for that “EasySave/Loading/EasyLoadList(T)”.
For saving though, there is no special method provided by EasySave. As such you can simply use the “EasySave/Saving/EasySave(System.Object)” node, to save a list (or any other type of object of course).
Let me know if that works for you.
Cheers!
( PS: I am not at office right now -no FC access- to create an example. Once I get back, I will post the example here for you! 🙂 )
Hmm, that is weird. I was sure that it would work with (T) as System.Object.
Can you please try opening up EasySaveNodes.cs, find the class called EasySave(T) at line #86 and add this attribute just above the class name [AppendListTypes].
Doing that will make the editor also show List types to be chose for (T) and as such allow you to add the exact node type required; in this case EasySave (List<string>).
Please let me know if that would work.
The rest of the graph looks correct by the way.
Hello,
If the error you are getting is still the one saying that “EasySave does not support this type”, maybe I think that we should contact the EasySave author, since all that the FC integration nodes do, is directly calling EasySave functions (no tricks in between).
The EasySave API [LINK], shows that it should work:
1
2
3
4
5
6
7
8
9
10
11
// Create a List of int values and save it.
List myList<int>=newList<int>();
myList.Add(1);
myList.Add(2);
ES2.Save(myList,"myFile.txt?tag=myList");
// Load the List and re-assign it to our variable.