Examples of IterableJSONArray


Examples of com.supinfo.analytics.utils.IterableJSONArray

           
            JSONArray sales = new JSONArray(stringBuilder.toString());
           
            // JSONArray n'est pas iterable avec un foreach de base
            // du coup j'ai fait un iterator perso \o/ (com.supinfo.analytics.utils.IterableJSONArray)
            IterableJSONArray jsonSales = new IterableJSONArray(sales);
           
            for (JSONObject jsonSale : jsonSales)
            {
                JSONObject jsonChannel = jsonSale.getJSONObject("channel");
                JSONObject jsonProduct = jsonSale.getJSONObject("product");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.