Daniele Bartolini 9 anni fa
parent
commit
3ec0da4ce1
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      tools/core/json/sjson.vala

+ 2 - 2
tools/core/json/sjson.vala

@@ -23,7 +23,7 @@ namespace Crown
 		///  Encodes the Hashtable t in the simplified JSON format. The Hashtable can
 		///  Encodes the Hashtable t in the simplified JSON format. The Hashtable can
 		///  contain, numbers, bools, strings, ArrayLists and Hashtables.
 		///  contain, numbers, bools, strings, ArrayLists and Hashtables.
 		/// </summary>
 		/// </summary>
-		public static string Encode(Hashtable t)
+		public static string encode(Hashtable t)
 		{
 		{
 			StringBuilder sb = new StringBuilder();
 			StringBuilder sb = new StringBuilder();
 			write_root_object(t, sb);
 			write_root_object(t, sb);
@@ -72,7 +72,7 @@ namespace Crown
 		/// </summary>
 		/// </summary>
 		public static void save(Hashtable h, string path)
 		public static void save(Hashtable h, string path)
 		{
 		{
-			string s = Encode(h);
+			string s = encode(h);
 			FileStream fs = FileStream.open(path, "w");
 			FileStream fs = FileStream.open(path, "w");
 			GLib.assert(fs != null);
 			GLib.assert(fs != null);
 			uint8[] bytes = s.data;
 			uint8[] bytes = s.data;