Saving Playerprefs Array?

I’m trying to save an array that contains a bunch of variables from a class. So it’s a mixed array of floats, strings, ect. I was wondering if there’s a simple way of saving this array using Playerprefs. I usually only have used it to save basic variables. Any help would be amazing.

I’m a C# guy, so I don’t know how applicable this is to UnityScript.

There’s ArrayPrefs2 for saving arrays of things, which is helpful.

I tend to have a C# class/struct that only holds a bunch of data I want to save, then I like to write it out to a JSON text file.

I’m thinking I may need to use a for loop and store each variable from the class into a new variable array. Still unsure of exactly what to do yet.