parent
7522fe0ce5
commit
2eafc04615
|
@ -76,14 +76,17 @@ namespace Ooui
|
||||||
|
|
||||||
if (value is double) {
|
if (value is double) {
|
||||||
w.Write (((double)value).ToString (icult));
|
w.Write (((double)value).ToString (icult));
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (value is int) {
|
if (value is int) {
|
||||||
w.Write (((int)value).ToString (icult));
|
w.Write (((int)value).ToString (icult));
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (value is float) {
|
if (value is float) {
|
||||||
w.Write (((float)value).ToString (icult));
|
w.Write (((float)value).ToString (icult));
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
w.Write (Newtonsoft.Json.JsonConvert.SerializeObject (value));
|
w.Write (Newtonsoft.Json.JsonConvert.SerializeObject (value));
|
||||||
|
|
Loading…
Reference in New Issue