Fix json serializing unknown types
This commit is contained in:
parent
ea8cdfa25e
commit
80dc2bfaf9
|
@ -86,7 +86,7 @@ namespace Ooui
|
|||
w.Write (((float)value).ToString (icult));
|
||||
}
|
||||
|
||||
WriteJsonString (w, Convert.ToString (value, icult));
|
||||
w.Write (Newtonsoft.Json.JsonConvert.SerializeObject (value));
|
||||
}
|
||||
|
||||
public static string SerializeObject (object value)
|
||||
|
|
Loading…
Reference in New Issue