src/ExpertSystems/ANFIS/misc/SerializationHelper.cs
/// <summary>
/// Stores object to file with json serialization
/// </summary>
/// <param name="pObject"></param>
/// <param name="filename"></param>
Stores object to file with json serialization
Stores object to file with json serialization
public static void SerializeJSON(T pObject, string filename)
        {
            var json = JsonConvert.SerializeObject(pObject);
            File.WriteAllText(filename, json);
        }
public static void SerializeJSON ( T pObject , string filename ) { var json = JsonConvert . SerializeObject ( pObject ) ; File . WriteAllText ( filename , json ) ; }
Stores object to file with json serialization
Stores object to file with json serialization
pObject
T
None
filename
string
None