Code example for JsonArray

0
            var4.addProperty("height", Integer.valueOf(par1AnimationMetadataSection.func_110471_a()));
        } 
 
        if (par1AnimationMetadataSection.func_110473_c() > 0)
        { 
            JsonArray var5 = new JsonArray();
 
            for (int var6 = 0; var6 < par1AnimationMetadataSection.func_110473_c(); ++var6)
            { 
                if (par1AnimationMetadataSection.func_110470_b(var6))
                { 
                    JsonObject var7 = new JsonObject();
                    var7.addProperty("index", Integer.valueOf(par1AnimationMetadataSection.func_110468_c(var6)));
                    var7.addProperty("time", Integer.valueOf(par1AnimationMetadataSection.func_110472_a(var6)));
                    var5.add(var7);
                } 
                else 
                { 
                    var5.add(new JsonPrimitive(Integer.valueOf(par1AnimationMetadataSection.func_110468_c(var6))));
                } 
Connect your IDE to all the code out there  Get Codota for Java