예제 #1
0
 /// <summary>
 /// Deserialize graph like json.
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <param name="text"></param>
 /// <returns></returns>
 public static Option <T> Deserialize <T>(string text)
 {
     return(BlobSerializer.Deserialize <T>(text));
 }
예제 #2
0
 /// <summary>
 /// Serialize graph like data.
 /// </summary>
 /// <param name="data"></param>
 /// <returns></returns>
 public static string Serialize(object data)
 {
     return(BlobSerializer.Serialize(data));
 }