Common.Web.Extensions

  • System.StringExtension
    This class contents contain extensions for System.String and System.string types.
  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.

Last edited Mar 19, 2013 at 1:04 PM by cschuchardt88, version 1

Comments

No comments yet.