Serializing object or objects
Example class:
                
/* using Newtonsoft.Json
************************/
public void JsonSerializer()
{
    string filepath; // define
    var crap = new Object();
    using(var writer = new StreamWriter(filepath))
    {
        var json = Newtonsoft.Json.JsonConvert.SerializeObject(crap);
        writer.Write(json);
    }
}

public void JsonDeserializer()
{
    string filepath; // define
    using (var r = new StreamReader(path))
    {
        var json = r.ReadToEnd();
        Object crap = Newtonsoft.Json.JsonConvert.DeserializeObject(json);
    }
}

/* using C# built in classes and interfaces
*******************************************/
public void BinarySerializer()
{
    var crap = new Object();
    string filepath; // define
    IFormatter formatter = new BinaryFormatter();
    using(var stream = new FileStream(filepath, FileMode.Create, FileAccess.Write))
    {
        formatter.Serialize(stream, crap);
    }
}

public void BinaryDeserializer()
{
    string filepath; // define
    IFormatter formatter = new BinaryFormatter();
    using (var stream = new FileStream(filepath, FileMode.Open, FileAccess.Read))
    {
        Object crap = (Object)formatter.Deserialize(stream);
    }
}