Fix json serializing unknown types

This commit is contained in:
Frank A. Krueger 2018-03-12 19:42:08 -07:00
parent ea8cdfa25e
commit 80dc2bfaf9
No known key found for this signature in database
GPG Key ID: 0471C67474FFE664
1 changed files with 1 additions and 1 deletions

View File

@ -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)