package risk;

import org.json.JSONArray;
import org.json.JSONObject;
import org.json.parser.JSONParser;


public class JSONImport {
	private JSONObject jsonObject;
	
	public JSONImport(String fileName){
		try {
			Object obj = parser.parse(new FileReader(fileName));
			jsonObject = (JSONObject) obj;
			
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

}

@@ -158,18 +158,52 @@
 Object;%0A
+%09private board = new RiskBoard();%0A
 %09%0A
-
 %09public 
@@ -333,16 +333,58 @@
 bj;%0A%09%09%09%0A
+%09%09%09board = parseNewBoard(jsonObject);%0A%09%09%09%0A
 %09%09%7D catc
@@ -432,11 +432,270 @@
 %0A%09%09%7D%0A%09%7D%0A
+%09%0A%09/**%0A%09 * Parses out a fresh baord from a json object.%0A%09 * %0A%09 * @param json%09a jason object with the board setup information%0A%09 * @return%09a risk board with the infor from the json file%0A%09 **/%0A%09private RiskBoard parseNewBoard(JSONObject json) %7B%0A%09%09return null;%0A%09%7D
 %0A%7D%0A

Update JSONImport.java