Common.Web.Extensions

  1. T FromXML<T>(string)
    Takes a xml string and deserializes it back to a object of a type.
    returns a deserialized object of the type of T.
  2. T FromJSON<T>(string)
    Takes a JSON string and deserializes it back to a object of a type.
    returns a deserialized object of the type of T.
  3. T FromJSON2<T>(string)
    Takes a JSON2 string and deserializes it back to a object of a type.
    returns a deserialized object of the type of T.
  4. string ToBase64(string)
    Takes a string and encodes it to a Base64 string.
  5. string FromBase64(string)
    Takes a Base64 string and decodes it to a string.