Package com.amazonaws.util.json

Examples of com.amazonaws.util.json.JSONArray


    final PrintWriter o = new PrintWriter(out);

    final JSONObject json = new JSONObject(inventory);
    final String vaultArn = json.getString("VaultARN");
    o.println("ARN:\t\t\t\t" + vaultArn);
    final JSONArray archives = json.getJSONArray("ArchiveList");
    for (int i = 0; i < archives.length(); i++) {
      printArchive(o, (JSONObject) archives.get(i));
    }

    o.flush();
  }
View Full Code Here

TOP

Related Classes of com.amazonaws.util.json.JSONArray

Copyright © 2018 www.massapicom. 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.