How to convert class object to JSon string?

Hi, I’m using SimpleJSON, and I am kinda new to json. For some reason, no one on google mentions how to convert objects to json strings. They just all say deserialize json strings, or give you an already made json string. Even SimpleJSON’s documentary doesn’t mention it. Why is that?

This is my code. Does anyone know what is the code to convert stuff to a json string?

    [System.Serializable]
    public class Skill{
     
    public bool     crush         =;
    public bool     parry         = false;
    public bool     slam          = false;
    public bool     magic        = false;
    public bool     evadeUp   = false;
     
    }
     
    public Skill[] allSkills;

I think you can read http://wiki.unity3d.com/index.php?title=JSONObject

It talks specifically of converting object to json and back.