Exemple #1
0
 public static TagCompound FromJson(string json, JsonEngine jsonEngine = JsonEngine.Accurate)
 {
     if (jsonEngine == JsonEngine.Fuzzy)
     {
         return(NBTJsonSerializerFizzy.FromJson(json) as TagCompound);
     }
     return(NBTJsonSerializer.FromJson(json) as TagCompound);
 }
Exemple #2
0
 public static string ToJson(TagBase tag, JsonOptions ops)
 {
     return(NBTJsonSerializerFizzy.ToJson(tag, ops));
 }