Beispiel #1
0
 /// <summary>
 /// Converts Dictionary to ExpandoObject.
 /// </summary>
 /// <param name="dictionary">The dictionary.</param>
 /// <returns>Expando Object</returns>
 public static ExpandoObject ToExpandoObject(this IDictionary <string, object> dictionary)
 {
     return(FacebookUtils.ToExpandoObject(dictionary));
 }
Beispiel #2
0
 /// <summary>
 /// Converts Json string to ExpandoObject
 /// </summary>
 /// <param name="json">The json string.</param>
 /// <returns>Expando Object</returns>
 public static ExpandoObject ToExpandoObject(this string json)
 {
     return(FacebookUtils.ToExpandoObject(FacebookUtils.FromJson(json, false)));
 }