Sfoglia il codice sorgente

Stop overwriting results

clanker 2 settimane fa
parent
commit
50a4edc512
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  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))) {