clanker 2 тижнів тому
батько
коміт
50a4edc512
1 змінених файлів з 3 додано та 1 видалено
  1. 3 1
      src/lib/Json.vala

+ 3 - 1
src/lib/Json.vala

@@ -286,7 +286,9 @@ namespace InvercargillJson {
                 else if(node.get_value_type().is_a(typeof(int64))) {
                     result = node.get_int().to_string();
                 }
-                result = node.get_string();
+                else {
+                    result = node.get_string();
+                }
                 return true;
             }
             if(typeof(T).is_a(typeof(DateTime))) {