Exemplo n.º 1
0
 /// <summary>
 /// Serialize Object
 /// </summary>
 /// <param name="value"></param>
 /// <returns></returns>
 public T DeserializeObject <T>(string value)
 {
     DependencyManagement.TryJsonNet();
     return(JsonHelper.DeserializeObject <T>(value));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Serialize Object
 /// </summary>
 /// <param name="value"></param>
 /// <returns></returns>
 public T DeserializeObject <T>(string value)
 {
     DependencyManagement.TryJsonNet();
     return(Context.CurrentConnectionConfig.ConfigureExternalServices.SerializeService.DeserializeObject <T>(value));
 }
Exemplo n.º 3
0
 /// <summary>
 /// Serialize Object
 /// </summary>
 /// <param name="value"></param>
 /// <returns></returns>
 public string SerializeObject(object value)
 {
     DependencyManagement.TryJsonNet();
     return(JsonHelper.SerializeObject(value));
 }