Class Serializer

Methods:

  • public static string Serialize<T>(this T obj)
  • public static T Deserialize<T>(string serializedData)

Example:

using PSEdition;

CustomObject c = new CustomObject();

string value = c.Serialize<CustomObject>();

CustomObject dc = Serializer.Deserialize<CustomObject>(value);

Last edited Jul 8, 2015 at 2:40 AM by z9ekaMen1, version 4