List of usage examples for org.json.simple JSONArray get
public E get(int index)
From source file:at.ac.tuwien.dsg.rSybl.planningEngine.staticData.ActionEffects.java
public static HashMap<String, List<ActionEffect>> getActionConditionalEffects() { if (applicationSpecificActionEffects.isEmpty() && defaultActionEffects.isEmpty()) { PlanningLogger.logger.info("~~~~~~~~~~Action effects is empty, reading the effects ! "); JSONParser parser = new JSONParser(); try {/*from w w w . j av a2 s . c o m*/ InputStream inputStream = Configuration.class.getClassLoader() .getResourceAsStream(Configuration.getEffectsPath()); Object obj = parser.parse(new InputStreamReader(inputStream)); JSONObject jsonObject = (JSONObject) obj; for (Object actionName : jsonObject.keySet()) { String myaction = (String) actionName; JSONObject object = (JSONObject) jsonObject.get(myaction); for (Object actions : object.keySet()) { ActionEffect actionEffect = new ActionEffect(); actionEffect.setActionType((String) myaction); actionEffect.setActionName((String) actions); JSONObject scaleinDescription = (JSONObject) object.get(actions); if (scaleinDescription.containsKey("conditions")) { JSONArray conditions = (JSONArray) jsonObject.get("conditions"); for (int i = 0; i < conditions.size(); i++) { actionEffect.addCondition((String) conditions.get(i)); } } String targetUnit = (String) scaleinDescription.get("targetUnit"); actionEffect.setTargetedEntityID(targetUnit); JSONObject effects = (JSONObject) scaleinDescription.get("effects"); for (Object effectPerUnit : effects.keySet()) { //System.out.println(effects.toString()); String affectedUnit = (String) effectPerUnit; JSONObject metriceffects = (JSONObject) effects.get(affectedUnit); for (Object metric : metriceffects.keySet()) { String metricName = (String) metric; try { actionEffect.setActionEffectForMetric(metricName, (Double) metriceffects.get(metricName), affectedUnit); } catch (Exception e) { actionEffect.setActionEffectForMetric(metricName, ((Long) metriceffects.get(metricName)).doubleValue(), affectedUnit); } } } if (applicationSpecificActionEffects.get(actionEffect.getTargetedEntityID()) == null) { List<ActionEffect> l = new ArrayList<ActionEffect>(); l.add(actionEffect); applicationSpecificActionEffects.put(actionEffect.getTargetedEntityID(), l); } else { applicationSpecificActionEffects.get(actionEffect.getTargetedEntityID()) .add(actionEffect); } } } } catch (Exception e) { PlanningLogger.logger.info("~~~~~~~~~~Retrying reading the effects "); parser = new JSONParser(); try { InputStream inputStream = Configuration.class.getClassLoader() .getResourceAsStream(Configuration.getEffectsPath()); Object obj = parser.parse(new InputStreamReader(inputStream)); JSONObject jsonObject = (JSONObject) obj; for (Object actionName : jsonObject.keySet()) { String myaction = (String) actionName; ActionEffect actionEffect = new ActionEffect(); actionEffect.setActionType((String) myaction); actionEffect.setActionName((String) myaction); JSONObject object = (JSONObject) jsonObject.get(myaction); JSONObject metrics = (JSONObject) object.get("effects"); for (Object me : metrics.keySet()) { String metric = (String) me; Double metricEffect = (Double) metrics.get(metric); actionEffect.setActionEffectForMetric(metric, metricEffect, ""); } defaultActionEffects.put(myaction, actionEffect); } } catch (Exception ex) { PlanningLogger.logger .error("Error when reading the effects!!!!!!!!!!!!!!!!!!" + ex.getMessage()); } } } return applicationSpecificActionEffects; }
From source file:h.scratchpads.list.json.JSONReader.java
public static String[] getScratchpadsForHarvesting(HarvestingDataArchive archive, LogFile logFile) { String info;/* w ww . j ava2s .co m*/ String[] scratchpadURLs = null; JSONArray arrayJSON = readJSON(HarvesterConfigData.CURRENT_Scratchpads_JSON_URL, logFile); if (arrayJSON != null) { List<String> urls = new ArrayList<String>(); info = "The list of current Scratchpads sites contains " + arrayJSON.size() + " URL(s)"; logFile.write(info); System.out.println(info); String field_website; String field_profile; String field_last_node_changed; String fieldLastNodeChangedFromArchive; boolean wasThereAnyChangeToHarvestingDataArchive = false; for (int i = 0; i < arrayJSON.size(); i++) { JSONObject jsonObject = (JSONObject) arrayJSON.get(i); field_website = (String) jsonObject.get("field_website"); if (field_website.startsWith("http")) { field_profile = (String) jsonObject.get("field_profile"); if ((field_profile.equalsIgnoreCase("scratchpad_2")) || (field_profile.equalsIgnoreCase("scratchpad_2_migrate"))) { field_last_node_changed = jsonObject.get("field_last_node_changed").toString(); fieldLastNodeChangedFromArchive = archive.getValue(field_website); if (!field_last_node_changed.equalsIgnoreCase(fieldLastNodeChangedFromArchive)) { archive.setValue(field_website, field_last_node_changed); wasThereAnyChangeToHarvestingDataArchive = true; urls.add(field_website); } } } } // if there was any change to HarvestingDataArchive then save it: if (wasThereAnyChangeToHarvestingDataArchive) { archive.saveHarvestingData(logFile); } scratchpadURLs = new String[urls.size()]; urls.toArray(scratchpadURLs); } return scratchpadURLs; }
From source file:com.googlecode.fascinator.redbox.plugins.curation.external.FormDataParser.java
/** * Get a child JSON Object from an incoming JSON array. If the child does * not exist it will be created, along with any smaller index values. The * index is expected to be 1 based (like form data). * /* w w w .j av a2s .c o m*/ * It is only valid for form arrays to hold JSON Objects. * * @param array The incoming array we are to look inside * @param index The child index we are looking for (1 based) * @return JsonObject The child we found or created * @throws IOException if anything other than an object is found, or an * invalid index is provided */ private static JsonObject getObject(JSONArray array, int index) throws IOException { // We can't just jam an entry into the array without // checking that earlier indexes exist. Also we need // to account for 0 versus 1 based indexing. // Index changed to 0 based if (index < 1) { throw new IOException("Invalid index value provided in form data."); } index -= 1; // Nice and easy, it already exists if (array.size() > index) { Object object = array.get(index); if (object instanceof JsonObject) { return (JsonObject) object; } throw new IOException("Non-Object found in array!"); // Slightly more annoying, we need to fill in // all the indices up to this point } else { for (int i = array.size(); i <= index; i++) { JsonObject object = new JsonObject(); array.add(object); } return (JsonObject) array.get(index); } }
From source file:com.netbase.insightapi.bestpractice.TopicDownloader.java
/** * Download all the documents of a topic, in sequential order, by * publication date./*w ww . ja va 2 s .c o m*/ * * @param masterQuery * @param user * @param startTimestamp * inclusive * @param endTimestamp * exclusive * @param handler * @throws InterruptedException * @throws InsightAPIQueryException */ public static void downloadHistory(InsightAPIQuery masterQuery, UserChannel user, int startTimestamp, int endTimestamp, ResultHandler handler) throws InterruptedException, InsightAPIQueryException { // clone the original query so we don't change it InsightAPIQuery query = new InsightAPIQuery(masterQuery); // force the parameters we rely on, leaving the others set by caller query.setParameter("sort", "timestamp"); query.setOp("retrieveDocuments"); // The caller can set "sizeNeeded" to any legal value, particularly for // testing purposes. In production, bigger is better unless we start // experiencing timeout or communication reliability issues. if (query.getParameters("sizeNeeded") == null) query.setParameter("sizeNeeded", 2000); /* * each call to the Insight API will return a (typically small) number * of documents that we already received in the prior call. This is * because we start the time range for call "n+1" with the highest * timestamp received during call "n". We do this because we are not * guaranteed to have received *all* of the documents containing the * highest timestamp. * * Timestamp resolution is 1/10 second; so, typically, we'll receive * exactly one document at the end of call "n" and the beginning of * "n+1". * * This set arranges for us to ignore the overlapped documents. */ Set<String> docIdsAlreadySeen = new HashSet<String>(); /* * the query for the first request covers the entire span for the * download. Since we're sorting and filtering by timestamp, we'll get * the earliest documents in the range. */ query.setPublishedTimestampRange(startTimestamp, endTimestamp); while (true) { InsightAPIQuery q = new InsightAPIQuery(query); // run the query and toss an exception if it didn't work user.run(q); q.checkSuccess(); // get the parsed json result JSONObject jsonResult = (JSONObject) q.getParsedContent(); // get the array of documents JSONArray docs = (JSONArray) jsonResult.get("documents"); // no documents at all? We're done if (docs == null || docs.size() == 0) break; // traverse the beginning of the list, counting up the duplicates int first = 0; while (first < docs.size()) { JSONObject doc = (JSONObject) docs.get(first); String docID = (String) getDocProperty(doc, "docID"); if (!docIdsAlreadySeen.contains(docID)) break; first++; } // all duplicates? we're done. if (first >= docs.size()) break; // call the ResultHandler to process the documents, beginning // with the first unique one handler.handleResult(docs, first); int last = docs.size() - 1; docIdsAlreadySeen.clear(); // get the timestamp of the last document received int lastTimestamp = ((Number) getDocProperty(docs.get(last), "timestamp")).intValue(); // if it's later than (shouldn't be) or equal to (could be) the // end of the requested range, we're done if (lastTimestamp >= endTimestamp) break; /* * traverse backwards through the list from the end, looking for the * next-lower timestamp. Write down all the docIDs of these * documents, because we're going to see them again at the beginning * of the next query */ while (last >= 0 && ((Number) getDocProperty(docs.get(last), "timestamp")).intValue() == lastTimestamp) { docIdsAlreadySeen.add((String) getDocProperty(docs.get(last), "docID")); last--; } /* * If we get through this loop with last < 0, it means that the * entire block of documents we received had the same timestamp. * This is a failure of this algorithm. * * For this to happen, it means that the topic contains more than * query.sizeNeeded (current max: 2000) documents with publication * timestamps in the same 1/10 second. * * We have no choice but to increment the timestamp by 1/10 of a * second and move on. If we don't, we'll keep getting the same * result in an infinite loop. */ if (last < 0) { user.logWarning(query.getSerial() + " too many docs with same timestamp=" + lastTimestamp + ", num of docs=" + docs.size()); docIdsAlreadySeen.clear(); lastTimestamp++; } // set the query's timestamp range to start with the last timestamp // we received, and rinse and repeat query.setPublishedTimestampRange(lastTimestamp, endTimestamp); } }
From source file:com.nubits.nubot.options.ParseOptions.java
private static ArrayList parseBackupFeeds(JSONObject optionsJSON) throws NuBotConfigException { ArrayList backupFeeds = new ArrayList<>(); //Iterate on backupFeeds JSONArray bfeeds = null; try {//from ww w .jav a 2s .c o m bfeeds = (JSONArray) getIgnoreCase(optionsJSON, backupfeeds); } catch (Exception e) { throw new NuBotConfigException("can't parse array " + e); } if (bfeeds.size() < 2) { throw new NuBotConfigException("The bot requires at least two backup data feeds to run"); } for (int i = 0; i < bfeeds.size(); i++) { try { String feedname = (String) bfeeds.get(i); if (!FeedFacade.isValidFeed(feedname)) throw new NuBotConfigException("invalid feed configured"); else backupFeeds.add(feedname); } catch (JSONException ex) { throw new NuBotConfigException("parse feeds json error" + ex); } } return backupFeeds; }
From source file:iracing.webapi.HostedSessionSummaryParser.java
public static List<HostedSessionSummary> parse(String json) { //{all:[{"qualifylaps":2,"qualtype":"L","pitsinuse":14,"privatesessionid":140393,"timelimit":240,"minliclevel":-1,"hasentry":false,"rootprivatesessionname":"","sessionname":"WSRL","maxliclevel":-1,"launchat":1340150700000,"sessiondesc":"http://wsrlracing.com Season 26 Tuesday Series - Race 18 of 18 Join the WSRL! We are accepting new drivers for our Tuesday and Friday Series. Visit our website for full schedule, rules and other details.","heataddeddrivers":"","restarts":2,"numservers":1,"displayname":"Bob+Beltrami","qualdur":2,"admincustids":"17900%2C17349","farmdisplayname":"US-MA","carids":"38","maxdrivers":42,"config_name":"Oval","allowedentities":"","qualsetupids":"25540","heatgridtype":"","passwordprotected":1,"qualifylength":5,"numfasttows":1,"qualsetupfilenames":"DH%26%2345%3BIndy%26%2345%3BS2%26%2345%3BRace%26%2346%3Bsto%2CDH-Indy-S2-Race.sto","racesetupfilenames":"DH%26%2345%3BIndy%26%2345%3BS2%26%2345%3BRace%26%2346%3Bsto%2CDH-Indy-S2-Race.sto","registered":"","racelaps":48,"leagueid":0,"farmimagepath":"%2Fmember_images%2Fflags%2Fus.png","maxir":-1,"racedur":48,"helmpattern":19,"password":"","heatfiltertype":"","carsleft":28,"trackid":133,"custid":17349,"heatracesvrndx":-1,"restrictresults":0,"hardcoreLevel":0,"nightMode":0,"numserversfinished":0,"heatfilteramount":"","fullcoursecautions":1,"rollingstarts":1,"heatgridsid":"","multiclass":1,"hasgrid":0,"max_pct_fuel_fills":"100","heatsessiontype":"","restrictviewing":0,"licenselevel":19,"custishost":0,"practicedur":130,"league_season_id":0,"openregexpires":1340158818000,"ingrid":0,"racesetupids":"25540","helmcolor1":240,"helmcolor2":115,"helmcolor3":92,"rootprivatesessionid":"","subsessionid":5871589,"fixedSetup":1,"racelength":105,"numserversstarted":1,"minir":-1,"track_name":"Indianapolis+Motor+Speedway"},{"qualifylaps":2,"qualtype":"L","pitsinuse":28,"privatesessionid":140567,"timelimit":240,"minliclevel":9,"hasentry":false,"rootprivatesessionname":"","sessionname":"Average Joes Trading Paints Truck Series","maxliclevel":28,"launchat":1340154000000,"sessiondesc":"averagejoesracing.org","heataddeddrivers":"","restarts":2,"numservers":1,"displayname":"Rick+Rhone","qualdur":2,"admincustids":"77384%2C77477%2C49225","farmdisplayname":"US-MA","carids":"20","maxdrivers":43,"config_name":"","allowedentities":"","qualsetupids":"24894","heatgridtype":"","passwordprotected":1,"qualifylength":5,"numfasttows":0,"qualsetupfilenames":"talladega%26%2395%3Bfixed%26%2346%3Bsto%2Ctalladega_fixed.sto","racesetupfilenames":"talladega%26%2395%3Bfixed%26%2346%3Bsto%2Ctalladega_fixed.sto","registered":"","racelaps":60,"leagueid":0,"farmimagepath":"%2Fmember_images%2Fflags%2Fus.png","maxir":-1,"racedur":60,"helmpattern":57,"password":"","heatfiltertype":"","carsleft":15,"trackid":116,"custid":77384,"heatracesvrndx":-1,"restrictresults":0,"hardcoreLevel":0,"nightMode":0,"numserversfinished":0,"heatfilteramount":"","fullcoursecautions":1,"rollingstarts":1,"heatgridsid":"","multiclass":0,"hasgrid":0,"max_pct_fuel_fills":"50","heatsessiontype":"","restrictviewing":0,"licenselevel":19,"custishost":0,"practicedur":60,"league_season_id":0,"openregexpires":1340157952000,"ingrid":0,"racesetupids":"24894","helmcolor1":240,"helmcolor2":255,"helmcolor3":245,"rootprivatesessionid":"","subsessionid":5871918,"fixedSetup":1,"racelength":175,"numserversstarted":1,"minir":-1,"track_name":"Talladega+Superspeedway"},{"qualifylaps":0,"qualtype":"O","pitsinuse":6,"privatesessionid":140617,"timelimit":120,"minliclevel":-1,"hasentry":false,"rootprivatesessionname":"","sessionname":"Torneo iRA - Cadillac CTS-V","maxliclevel":-1,"launchat":1340154000000,"sessiondesc":"iracing.com.ar - Torneo iRA - Cadillac CTS-V - Round 5 - Practice 2","heataddeddrivers":"","restarts":2,"numservers":1,"displayname":"Eugenio+Pascuzzo","qualdur":45,"admincustids":"30665%2C47369%2C67334","farmdisplayname":"US-MA","carids":"41","maxdrivers":43,"config_name":"Long","allowedentities":"","qualsetupids":"","heatgridtype":"","passwordprotected":1,"qualifylength":45,"numfasttows":2,"qualsetupfilenames":"","racesetupfilenames":"","registered":"","racelaps":7,"leagueid":0,"farmimagepath":"%2Fmember_images%2Fflags%2Fus.png","maxir":-1,"racedur":7,"helmpattern":30,"password":"","heatfiltertype":"","carsleft":37,"trackid":98,"custid":67334,"heatracesvrndx":-1,"restrictresults":0,"hardcoreLevel":0,"nightMode":0,"numserversfinished":0,"heatfilteramount":"","fullcoursecautions":0,"rollingstarts":0,"heatgridsid":"","multiclass":1,"hasgrid":0,"max_pct_fuel_fills":"100","heatsessiontype":"","restrictviewing":0,"licenselevel":14,"custishost":0,"practicedur":60,"league_season_id":0,"openregexpires":1340160341000,"ingrid":0,"racesetupids":"","helmcolor1":240,"helmcolor2":255,"helmcolor3":102,"rootprivatesessionid":"","subsessionid":5871916,"fixedSetup":0,"racelength":15,"numserversstarted":1,"minir":-1,"track_name":"Infineon+Raceway"},{"qualifylaps":0,"qualtype":"O","pitsinuse":3,"privatesessionid":140800,"timelimit":120,"minliclevel":-1,"hasentry":false,"rootprivatesessionname":"","sessionname":"Longshot Racing DP Practice","maxliclevel":-1,"launchat":1340154000000,"sessiondesc":"Practice for the next RealSimRacing endurance event.","heataddeddrivers":"","restarts":0,"numservers":1,"displayname":"Glenn+Petersen","qualdur":0,"admincustids":"54565%2C21324%2C43449","farmdisplayname":"US-MA","carids":"21","maxdrivers":26,"config_name":"Full","allowedentities":"","qualsetupids":"","heatgridtype":"","passwordprotected":1,"qualifylength":0,"numfasttows":0,"qualsetupfilenames":"","racesetupfilenames":"","registered":"","racelaps":0,"leagueid":0,"farmimagepath":"%2Fmember_images%2Fflags%2Fus.png","maxir":-1,"racedur":0,"helmpattern":57,"password":"","heatfiltertype":"","carsleft":59,"trackid":153,"custid":43449,"heatracesvrndx":-1,"restrictresults":0,"hardcoreLevel":0,"nightMode":0,"numserversfinished":0,"heatfilteramount":"","fullcoursecautions":0,"rollingstarts":0,"heatgridsid":"","multiclass":1,"hasgrid":0,"max_pct_fuel_fills":"100","heatsessiontype":"","restrictviewing":0,"licenselevel":14,"custishost":0,"practicedur":120,"league_season_id":0,"openregexpires":1340161246000,"ingrid":0,"racesetupids":"","helmcolor1":60,"helmcolor2":240,"helmcolor3":51,"rootprivatesessionid":"","subsessionid":5871920,"fixedSetup":0,"racelength":0,"numserversstarted":1,"minir":-1,"track_name":"Mid-Ohio+Sports+Car+Course"},{"qualifylaps":0,"qualtype":"O","pitsinuse":5,"privatesessionid":140804,"timelimit":240,"minliclevel":-1,"hasentry":false,"rootprivatesessionname":"","sessionname":"Red Sox Racing League","maxliclevel":-1,"launchat":1340146800000,"sessiondesc":"Practice for Race 7 - Spa GP - 30 mins","heataddeddrivers":"","restarts":0,"numservers":1,"displayname":"Les+Turner","qualdur":0,"admincustids":"15294%2C15219","farmdisplayname":"US-MA","carids":"26%2C39","maxdrivers":43,"config_name":"GP+Pits","allowedentities":"","qualsetupids":"","heatgridtype":"","passwordprotected":1,"qualifylength":0,"numfasttows":-1,"qualsetupfilenames":"","racesetupfilenames":"2012%26%2395%3B06%26%2395%3B01%26%2395%3BRSR%26%2395%3BC6R%26%2395%3BSpaGP%26%2395%3Bfixed%26%2346%3Bsto%2C2012_06_02_RSR_HPD_SpaGP_fixed.sto%2C2012_06_01_RSR_C6R_SpaGP_fixed.sto","registered":"","racelaps":0,"leagueid":0,"farmimagepath":"%2Fmember_images%2Fflags%2Fus.png","maxir":-1,"racedur":0,"helmpattern":19,"password":"","heatfiltertype":"","carsleft":54,"trackid":163,"custid":15294,"heatracesvrndx":-1,"restrictresults":0,"hardcoreLevel":1,"nightMode":0,"numserversfinished":0,"heatfilteramount":"","fullcoursecautions":0,"rollingstarts":1,"heatgridsid":"","multiclass":1,"hasgrid":0,"max_pct_fuel_fills":"100%2C100","heatsessiontype":"","restrictviewing":0,"licenselevel":20,"custishost":0,"practicedur":240,"league_season_id":0,"openregexpires":1340161231000,"ingrid":0,"racesetupids":"25553%2C25552","helmcolor1":240,"helmcolor2":132,"helmcolor3":132,"rootprivatesessionid":"","subsessionid":5871225,"fixedSetup":1,"racelength":0,"numserversstarted":1,"minir":-1,"track_name":"Circuit+de+Spa-Francorchamps"},{"qualifylaps":0,"qualtype":"O","pitsinuse":7,"privatesessionid":140806,"timelimit":240,"minliclevel":-1,"hasentry":false,"rootprivatesessionname":"","sessionname":"ISRA GPC Australian Grand Prix Tuesday Practice","maxliclevel":-1,"launchat":1340148600000,"sessiondesc":"Open practice for the ISRA GPC Australian Grand Prix is live! This session is password protected, however head over to www.israleague.com for more information regarding the GPC.","heataddeddrivers":"","restarts":0,"numservers":1,"displayname":"Ryan+Cornes","qualdur":0,"admincustids":"70646%2C23414","farmdisplayname":"US-MA","carids":"33","maxdrivers":44,"config_name":"Phillip+Island+Circuit","allowedentities":"","qualsetupids":"","heatgridtype":"","passwordprotected":1,"qualifylength":0,"numfasttows":-1,"qualsetupfilenames":"","racesetupfilenames":"","registered":"","racelaps":0,"leagueid":0,"farmimagepath":"%2Fmember_images%2Fflags%2Fus.png","maxir":-1,"racedur":0,"helmpattern":1,"password":"","heatfiltertype":"","carsleft":50,"trackid":152,"custid":23414,"heatracesvrndx":-1,"restrictresults":0,"hardcoreLevel":0,"nightMode":0,"numserversfinished":0,"heatfilteramount":"","fullcoursecautions":0,"rollingstarts":0,"heatgridsid":"","multiclass":1,"hasgrid":0,"max_pct_fuel_fills":"47","heatsessiontype":"","restrictviewing":0,"licenselevel":18,"custishost":0,"practicedur":240,"league_season_id":0,"openregexpires":1340163028000,"ingrid":0,"racesetupids":"","helmcolor1":128,"helmcolor2":254,"helmcolor3":240,"rootprivatesessionid":"","subsessionid":5871365,"fixedSetup":0,"racelength":0,"numserversstarted":1,"minir":-1,"track_name":"Phillip+Island"},{"qualifylaps":0,"qualtype":"O","pitsinuse":1,"privatesessionid":140831,"timelimit":360,"minliclevel":-1,"hasentry":false,"rootprivatesessionname":"","sessionname":"ISR 120 Minutes of Thunder Practice","maxliclevel":-1,"launchat":1340154000000,"sessiondesc":"Inside Sim Racing 120 Minutes of Thunder Practice Session - Go here http://insidesimracing.tv/forums/viewtopic.php?f=205&t=7190 to find out about this event and to sign up for one of many prizes","heataddeddrivers":"","restarts":0,"numservers":1,"displayname":"Darin+Gangi","qualdur":0,"admincustids":"15631%2C15605%2C28089","farmdisplayname":"US-MA","carids":"41%2C21","maxdrivers":42,"config_name":"Boot","allowedentities":"","qualsetupids":"","heatgridtype":"","passwordprotected":0,"qualifylength":0,"numfasttows":0,"qualsetupfilenames":"","racesetupfilenames":"","registered":"","racelaps":0,"leagueid":0,"farmimagepath":"%2Fmember_images%2Fflags%2Fus.png","maxir":-1,"racedur":0,"helmpattern":61,"password":"","heatfiltertype":"","carsleft":59,"trackid":107,"custid":15605,"heatracesvrndx":-1,"restrictresults":0,"hardcoreLevel":0,"nightMode":0,"numserversfinished":0,"heatfilteramount":"","fullcoursecautions":1,"rollingstarts":0,"heatgridsid":"","multiclass":1,"hasgrid":0,"max_pct_fuel_fills":"100%2C100","heatsessiontype":"","restrictviewing":0,"licenselevel":19,"custishost":0,"practicedur":360,"league_season_id":0,"openregexpires":1340175640000,"ingrid":0,"racesetupids":"","helmcolor1":240,"helmcolor2":243,"helmcolor3":96,"rootprivatesessionid":"","subsessionid":5871915,"fixedSetup":0,"racelength":0,"numserversstarted":1,"minir":-1,"track_name":"Watkins+Glen+International"},{"qualifylaps":0,"qualtype":"O","pitsinuse":19,"privatesessionid":140860,"timelimit":120,"minliclevel":-1,"hasentry":false,"rootprivatesessionname":"","sessionname":"Realsimracing.com","maxliclevel":-1,"launchat":1340152200000,"sessiondesc":"Signup for Full Throttle Cup Etv Series at www.realsimracing.com. All races in the series are broadcast live by Etv. The current five race block is starting next Monday at Infineon. Entry fee for five races is only $15. Please read requirements for the series. ","heataddeddrivers":"","restarts":2,"numservers":1,"displayname":"John+Abbott","qualdur":0,"admincustids":"39870","farmdisplayname":"US-MA","carids":"22","maxdrivers":43,"config_name":"Cup","allowedentities":"","qualsetupids":"","heatgridtype":"","passwordprotected":0,"qualifylength":0,"numfasttows":-1,"qualsetupfilenames":"","racesetupfilenames":"","registered":"","racelaps":0,"leagueid":0,"farmimagepath":"%2Fmember_images%2Fflags%2Fus.png","maxir":-1,"racedur":0,"helmpattern":0,"password":"","heatfiltertype":"","carsleft":29,"trackid":48,"custid":39870,"heatracesvrndx":-1,"restrictresults":0,"hardcoreLevel":0,"nightMode":0,"numserversfinished":0,"heatfilteramount":"","fullcoursecautions":1,"rollingstarts":1,"heatgridsid":"","multiclass":1,"hasgrid":0,"max_pct_fuel_fills":"100","heatsessiontype":"","restrictviewing":0,"licenselevel":14,"custishost":0,"practicedur":120,"league_season_id":0,"openregexpires":1340159441000,"ingrid":0,"racesetupids":"","helmcolor1":116,"helmcolor2":123,"helmcolor3":240,"rootprivatesessionid":"","subsessionid":5871722,"fixedSetup":0,"racelength":0,"numserversstarted":1,"minir":-1,"track_name":"Infineon+Raceway"},{"qualifylaps":0,"qualtype":"O","pitsinuse":1,"privatesessionid":140887,"timelimit":360,"minliclevel":-1,"hasentry":false,"rootprivatesessionname":"","sessionname":"PTY CHARITY RIDE","maxliclevel":-1,"launchat":1340146800000,"sessiondesc":"Qual Practice for the Prader-Willi Syndrome Charity Race presented by Paint the Yellow - $1900 Purse for main event. More info @ http://charity.painttheyellow.com - 50 Percent Fuel - Sessions will run all day today.","heataddeddrivers":"","restarts":2,"numservers":1,"displayname":"James+Howard","qualdur":0,"admincustids":"65431%2C47373%2C39861%2C39706%2C28702%2C22544%2C15853%2C17179","farmdisplayname":"US-MA","carids":"20","maxdrivers":43,"config_name":"","allowedentities":"","qualsetupids":"","heatgridtype":"","passwordprotected":0,"qualifylength":0,"numfasttows":-1,"qualsetupfilenames":"","racesetupfilenames":"","registered":"","racelaps":0,"leagueid":0,"farmimagepath":"%2Fmember_images%2Fflags%2Fus.png","maxir":-1,"racedur":0,"helmpattern":45,"password":"","heatfiltertype":"","carsleft":55,"trackid":116,"custid":17179,"heatracesvrndx":-1,"restrictresults":0,"hardcoreLevel":0,"nightMode":0,"numserversfinished":0,"heatfilteramount":"","fullcoursecautions":0,"rollingstarts":1,"heatgridsid":"","multiclass":0,"hasgrid":0,"max_pct_fuel_fills":"50","heatsessiontype":"","restrictviewing":0,"licenselevel":20,"custishost":0,"practicedur":360,"league_season_id":0,"openregexpires":1340168430000,"ingrid":0,"racesetupids":"","helmcolor1":240,"helmcolor2":255,"helmcolor3":131,"rootprivatesessionid":"","subsessionid":5871228,"fixedSetup":0,"racelength":0,"numserversstarted":1,"minir":-1,"track_name":"Talladega+Superspeedway"},{"qualifylaps":0,"qualtype":"O","pitsinuse":1,"privatesessionid":140889,"timelimit":120,"minliclevel":-1,"hasentry":false,"rootprivatesessionname":"","sessionname":"Reddit iRacing Road League Race #7 Practice ","maxliclevel":-1,"launchat":1340152200000,"sessiondesc":"This is Race #7 Practice for the iRacing Road league. For more information, visit http://redd.it/s5cng","heataddeddrivers":"","restarts":0,"numservers":1,"displayname":"Alex+Remilard","qualdur":0,"admincustids":"68655","farmdisplayname":"US-MA","carids":"34","maxdrivers":39,"config_name":"Short+Configuration","allowedentities":"","qualsetupids":"23912","heatgridtype":"","passwordprotected":1,"qualifylength":0,"numfasttows":0,"qualsetupfilenames":"baseline%26%2346%3Bsto","racesetupfilenames":"baseline%26%2346%3Bsto","registered":"","racelaps":0,"leagueid":0,"farmimagepath":"%2Fmember_images%2Fflags%2Fus.png","maxir":-1,"racedur":0,"helmpattern":61,"password":"","heatfiltertype":"","carsleft":61,"trackid":24,"custid":68655,"heatracesvrndx":-1,"restrictresults":0,"hardcoreLevel":0,"nightMode":0,"numserversfinished":0,"heatfilteramount":"","fullcoursecautions":1,"rollingstarts":0,"heatgridsid":"","multiclass":1,"hasgrid":0,"max_pct_fuel_fills":"100","heatsessiontype":"","restrictviewing":0,"licenselevel":2,"custishost":0,"practicedur":120,"league_season_id":0,"openregexpires":1340159430000,"ingrid":0,"racesetupids":"23912","helmcolor1":92,"helmcolor2":111,"helmcolor3":246,"rootprivatesessionid":"","subsessionid":5871721,"fixedSetup":1,"racelength":0,"numserversstarted":1,"minir":-1,"track_name":"Summit+Point+Raceway"},{"qualifylaps":2,"qualtype":"L","pitsinuse":20,"privatesessionid":140908,"timelimit":120,"minliclevel":-1,"hasentry":false,"rootprivatesessionname":"","sessionname":"PTY CHARITY RIDE","maxliclevel":-1,"launchat":1340154000000,"sessiondesc":"Fun Race Practice for the Prader-Willi Syndrome Charity Race presented by Paint the Yellow - $1900 Purse for main event. More info @ http://charity.painttheyellow.com - 50 Percent Fuel - Fun Races Launch at the TOP OF THE HOUR!","heataddeddrivers":"","restarts":2,"numservers":1,"displayname":"James+Howard","qualdur":2,"admincustids":"17179%2C65431%2C28702%2C39706%2C39861%2C47373%2C22544%2C15853","farmdisplayname":"US-MA","carids":"20","maxdrivers":43,"config_name":"","allowedentities":"","qualsetupids":"","heatgridtype":"","passwordprotected":0,"qualifylength":5,"numfasttows":-1,"qualsetupfilenames":"","racesetupfilenames":"","registered":"","racelaps":25,"leagueid":0,"farmimagepath":"%2Fmember_images%2Fflags%2Fus.png","maxir":-1,"racedur":25,"helmpattern":45,"password":"","heatfiltertype":"","carsleft":23,"trackid":116,"custid":17179,"heatracesvrndx":-1,"restrictresults":0,"hardcoreLevel":0,"nightMode":0,"numserversfinished":0,"heatfilteramount":"","fullcoursecautions":0,"rollingstarts":1,"heatgridsid":"","multiclass":0,"hasgrid":0,"max_pct_fuel_fills":"50","heatsessiontype":"","restrictviewing":0,"licenselevel":20,"custishost":0,"practicedur":60,"league_season_id":0,"openregexpires":1340157952000,"ingrid":0,"racesetupids":"","helmcolor1":240,"helmcolor2":255,"helmcolor3":131,"rootprivatesessionid":"","subsessionid":5871917,"fixedSetup":0,"racelength":30,"numserversstarted":1,"minir":-1,"track_name":"Talladega+Superspeedway"},{"qualifylaps":0,"qualtype":"O","pitsinuse":5,"privatesessionid":140925,"timelimit":240,"minliclevel":-1,"hasentry":false,"rootprivatesessionname":"","sessionname":"GPNY Sim Room","maxliclevel":-1,"launchat":1340143200000,"sessiondesc":"check out http://www.gpny.com/indoor-go-karts/sim-room or facebook.com/thesimroom for more information. ","heataddeddrivers":"","restarts":0,"numservers":1,"displayname":"gpnysimroomadmin","qualdur":0,"admincustids":"90406%2C64365%2C90393","farmdisplayname":"US-MA","carids":"21","maxdrivers":46,"config_name":"Full+Course","allowedentities":"","qualsetupids":"","heatgridtype":"","passwordprotected":0,"qualifylength":0,"numfasttows":-1,"qualsetupfilenames":"","racesetupfilenames":"","registered":"","racelaps":0,"leagueid":0,"farmimagepath":"%2Fmember_images%2Fflags%2Fus.png","maxir":-1,"racedur":0,"helmpattern":1,"password":"","heatfiltertype":"","carsleft":51,"trackid":47,"custid":90406,"heatracesvrndx":-1,"restrictresults":0,"hardcoreLevel":1,"nightMode":0,"numserversfinished":0,"heatfilteramount":"","fullcoursecautions":0,"rollingstarts":0,"heatgridsid":"","multiclass":0,"hasgrid":0,"max_pct_fuel_fills":"100","heatsessiontype":"","restrictviewing":0,"licenselevel":2,"custishost":0,"practicedur":240,"league_season_id":0,"openregexpires":1340157640000,"ingrid":0,"racesetupids":"","helmcolor1":255,"helmcolor2":252,"helmcolor3":246,"rootprivatesessionid":"","subsessionid":5870923,"fixedSetup":0,"racelength":0,"numserversstarted":1,"minir":-1,"track_name":"Mazda+Raceway+Laguna+Seca"},{"qualifylaps":2,"qualtype":"L","pitsinuse":19,"privatesessionid":140926,"timelimit":120,"minliclevel":9,"hasentry":false,"rootprivatesessionname":"","sessionname":"Race-a-Palooza (FIXED)","maxliclevel":28,"launchat":1340156100000,"sessiondesc":"www.TheRCRL.com Everyone gets 2 fast tows. Those who can't drive clean will be booted. If we have a huge field before qualifying, we'll limit the field to the top 25 qualifiers.","heataddeddrivers":"","restarts":2,"numservers":1,"displayname":"Brian+Styers","qualdur":2,"admincustids":"71248%2C67195%2C29547%2C25455%2C29872","farmdisplayname":"US-MA","carids":"41","maxdrivers":42,"config_name":"","allowedentities":"","qualsetupids":"25558","heatgridtype":"","passwordprotected":0,"qualifylength":5,"numfasttows":2,"qualsetupfilenames":"Bristol+CTSV+%26%2340%3Bday%26%2341%3B%26%2346%3Bsto%2CBristol+CTSV+%28day%29.sto","racesetupfilenames":"Bristol+CTSV+%26%2340%3Bday%26%2341%3B%26%2346%3Bsto%2CBristol+CTSV+%28day%29.sto","registered":"","racelaps":100,"leagueid":0,"farmimagepath":"%2Fmember_images%2Fflags%2Fus.png","maxir":-1,"racedur":100,"helmpattern":48,"password":"","heatfiltertype":"","carsleft":23,"trackid":101,"custid":67195,"heatracesvrndx":-1,"restrictresults":0,"hardcoreLevel":0,"nightMode":0,"numserversfinished":0,"heatfilteramount":"","fullcoursecautions":1,"rollingstarts":1,"heatgridsid":"","multiclass":1,"hasgrid":0,"max_pct_fuel_fills":"100","heatsessiontype":"","restrictviewing":0,"licenselevel":19,"custishost":0,"practicedur":30,"league_season_id":0,"openregexpires":1340158214000,"ingrid":0,"racesetupids":"25558","helmcolor1":240,"helmcolor2":246,"helmcolor3":124,"rootprivatesessionid":"","subsessionid":5872087,"fixedSetup":1,"racelength":85,"numserversstarted":1,"minir":-1,"track_name":"Bristol+Motor+Speedway"},{"qualifylaps":0,"qualtype":"O","pitsinuse":1,"privatesessionid":140933,"timelimit":360,"minliclevel":-1,"hasentry":false,"rootprivatesessionname":"","sessionname":"ELMS Silverstone testing","maxliclevel":-1,"launchat":1340138814000,"sessiondesc":"ELMS Silverstone test","heataddeddrivers":"","restarts":0,"numservers":1,"displayname":"Koen+Geeraerts","qualdur":0,"admincustids":"71853","farmdisplayname":"NL-Ams","carids":"26%2C39%2C40","maxdrivers":43,"config_name":"Grand+Prix","allowedentities":"1%3A40","qualsetupids":"","heatgridtype":"","passwordprotected":0,"qualifylength":0,"numfasttows":0,"qualsetupfilenames":"","racesetupfilenames":"","registered":"","racelaps":0,"leagueid":0,"farmimagepath":"%2Fmember_images%2Fflags%2Fnl.png","maxir":-1,"racedur":0,"helmpattern":6,"password":"","heatfiltertype":"","carsleft":61,"trackid":41,"custid":71853,"heatracesvrndx":-1,"restrictresults":0,"hardcoreLevel":1,"nightMode":0,"numserversfinished":0,"heatfilteramount":"","fullcoursecautions":0,"rollingstarts":0,"heatgridsid":"","multiclass":1,"hasgrid":0,"max_pct_fuel_fills":"100%2C100%2C100","heatsessiontype":"","restrictviewing":0,"licenselevel":18,"custishost":0,"practicedur":360,"league_season_id":0,"openregexpires":1340160422000,"ingrid":0,"racesetupids":"","helmcolor1":254,"helmcolor2":112,"helmcolor3":254,"rootprivatesessionid":"","subsessionid":5870511,"fixedSetup":0,"racelength":0,"numserversstarted":1,"minir":-1,"track_name":"Silverstone+Circuit"},{"qualifylaps":0,"qualtype":"O","pitsinuse":5,"privatesessionid":140946,"timelimit":360,"minliclevel":-1,"hasentry":false,"rootprivatesessionname":"","sessionname":"Kentucky","maxliclevel":-1,"launchat":1340143416000,"sessiondesc":"Just practice.","heataddeddrivers":"","restarts":2,"numservers":1,"displayname":"Robert+Freedman","qualdur":0,"admincustids":"49171","farmdisplayname":"US-MA","carids":"22","maxdrivers":35,"config_name":"Oval","allowedentities":"","qualsetupids":"","heatgridtype":"","passwordprotected":0,"qualifylength":0,"numfasttows":0,"qualsetupfilenames":"","racesetupfilenames":"","registered":"","racelaps":0,"leagueid":0,"farmimagepath":"%2Fmember_images%2Fflags%2Fus.png","maxir":-1,"racedur":0,"helmpattern":65,"password":"","heatfiltertype":"","carsleft":52,"trackid":188,"custid":49171,"heatracesvrndx":-1,"restrictresults":0,"hardcoreLevel":0,"nightMode":1,"numserversfinished":0,"heatfilteramount":"","fullcoursecautions":1,"rollingstarts":1,"heatgridsid":"","multiclass":1,"hasgrid":0,"max_pct_fuel_fills":"100","heatsessiontype":"","restrictviewing":0,"licenselevel":20,"custishost":0,"practicedur":360,"league_season_id":0,"openregexpires":1340165027000,"ingrid":0,"racesetupids":"","helmcolor1":255,"helmcolor2":240,"helmcolor3":122,"rootprivatesessionid":"","subsessionid":5870940,"fixedSetup":0,"racelength":0,"numserversstarted":1,"minir":-1,"track_name":"Kentucky+Speedway"},{"qualifylaps":0,"qualtype":"O","pitsinuse":8,"privatesessionid":140956,"timelimit":240,"minliclevel":6,"hasentry":false,"rootprivatesessionname":"","sessionname":"American Motorsport Simulations","maxliclevel":28,"launchat":1340148600000,"sessiondesc":"League Practice","heataddeddrivers":"","restarts":2,"numservers":1,"displayname":"Will+Jones","qualdur":0,"admincustids":"73606%2C77423%2C76276%2C73290","farmdisplayname":"US-MA","carids":"20","maxdrivers":43,"config_name":"","allowedentities":"","qualsetupids":"","heatgridtype":"","passwordprotected":1,"qualifylength":0,"numfasttows":0,"qualsetupfilenames":"","racesetupfilenames":"","registered":"","racelaps":0,"leagueid":0,"farmimagepath":"%2Fmember_images%2Fflags%2Fus.png","maxir":-1,"racedur":0,"helmpattern":19,"password":"","heatfiltertype":"","carsleft":50,"trackid":115,"custid":73606,"heatracesvrndx":-1,"restrictresults":0,"hardcoreLevel":0,"nightMode":0,"numserversfinished":0,"heatfilteramount":"","fullcoursecautions":1,"rollingstarts":1,"heatgridsid":"","multiclass":0,"hasgrid":0,"max_pct_fuel_fills":"100","heatsessiontype":"","restrictviewing":0,"licenselevel":20,"custishost":0,"practicedur":240,"league_season_id":0,"openregexpires":1340163031000,"ingrid":0,"racesetupids":"","helmcolor1":240,"helmcolor2":250,"helmcolor3":250,"rootprivatesessionid":"","subsessionid":5871364,"fixedSetup":0,"racelength":0,"numserversstarted":1,"minir":-1,"track_name":"Darlington+Raceway"},{"qualifylaps":0,"qualtype":"O","pitsinuse":0,"privatesessionid":140965,"timelimit":360,"minliclevel":-1,"hasentry":false,"rootprivatesessionname":"","sessionname":"A Very Long Practice - TimsCorner.ca","maxliclevel":-1,"launchat":1340147358000,"sessiondesc":"Hey, I just met you. and this is crazy, so here's my number, so call me maybe.","heataddeddrivers":"","restarts":2,"numservers":1,"displayname":"Tim+Terry","qualdur":0,"admincustids":"27368%2C26970","farmdisplayname":"US-MA","carids":"22","maxdrivers":44,"config_name":"Oval","allowedentities":"","qualsetupids":"","heatgridtype":"","passwordprotected":1,"qualifylength":0,"numfasttows":2,"qualsetupfilenames":"","racesetupfilenames":"","registered":"","racelaps":0,"leagueid":0,"farmimagepath":"%2Fmember_images%2Fflags%2Fus.png","maxir":-1,"racedur":0,"helmpattern":19,"password":"","heatfiltertype":"","carsleft":56,"trackid":188,"custid":27368,"heatracesvrndx":-1,"restrictresults":0,"hardcoreLevel":0,"nightMode":1,"numserversfinished":0,"heatfilteramount":"","fullcoursecautions":0,"rollingstarts":1,"heatgridsid":"","multiclass":0,"hasgrid":0,"max_pct_fuel_fills":"100","heatsessiontype":"","restrictviewing":0,"licenselevel":18,"custishost":0,"practicedur":360,"league_season_id":0,"openregexpires":1340168976000,"ingrid":0,"racesetupids":"","helmcolor1":103,"helmcolor2":158,"helmcolor3":120,"rootprivatesessionid":"","subsessionid":5871270,"fixedSetup":0,"racelength":0,"numserversstarted":1,"minir":-1,"track_name":"Kentucky+Speedway"},{"qualifylaps":2,"qualtype":"L","pitsinuse":20,"privatesessionid":140988,"timelimit":120,"minliclevel":-1,"hasentry":false,"rootprivatesessionname":"","sessionname":"oleary's","maxliclevel":-1,"launchat":1340154000000,"sessiondesc":"","heataddeddrivers":"","restarts":2,"numservers":1,"displayname":"Shawn+Oleary","qualdur":2,"admincustids":"94328","farmdisplayname":"US-MA","carids":"41","maxdrivers":20,"config_name":"Oval","allowedentities":"","qualsetupids":"","heatgridtype":"","passwordprotected":0,"qualifylength":5,"numfasttows":0,"qualsetupfilenames":"","racesetupfilenames":"","registered":"","racelaps":100,"leagueid":0,"farmimagepath":"%2Fmember_images%2Fflags%2Fus.png","maxir":-1,"racedur":100,"helmpattern":18,"password":"","heatfiltertype":"","carsleft":0,"trackid":40,"custid":94328,"heatracesvrndx":-1,"restrictresults":0,"hardcoreLevel":0,"nightMode":1,"numserversfinished":0,"heatfilteramount":"","fullcoursecautions":0,"rollingstarts":1,"heatgridsid":"","multiclass":1,"hasgrid":0,"max_pct_fuel_fills":"100","heatsessiontype":"","restrictviewing":0,"licenselevel":2,"custishost":0,"practicedur":60,"league_season_id":0,"openregexpires":1340157944000,"ingrid":0,"racesetupids":"","helmcolor1":100,"helmcolor2":124,"helmcolor3":112,"rootprivatesessionid":"","subsessionid":5871914,"fixedSetup":0,"racelength":55,"numserversstarted":1,"minir":-1,"track_name":"Charlotte+Motor+Speedway"},{"qualifylaps":3,"qualtype":"L","pitsinuse":0,"privatesessionid":140991,"timelimit":360,"minliclevel":-1,"hasentry":false,"rootprivatesessionname":"","sessionname":"RED DOG ELITE","maxliclevel":-1,"launchat":1340152129000,"sessiondesc":"It's a bitch of a Course for the B cars.","heataddeddrivers":"","restarts":2,"numservers":1,"displayname":"Chad+J+Sandstede","qualdur":3,"admincustids":"78421%2C78820%2C63083%2C52397%2C49896%2C49876%2C48577","farmdisplayname":"US-MA","carids":"20","maxdrivers":43,"config_name":"","allowedentities":"","qualsetupids":"","heatgridtype":"","passwordprotected":1,"qualifylength":5,"numfasttows":0,"qualsetupfilenames":"","racesetupfilenames":"","registered":"","racelaps":160,"leagueid":0,"farmimagepath":"%2Fmember_images%2Fflags%2Fus.png","maxir":-1,"racedur":160,"helmpattern":62,"password":"","heatfiltertype":"","carsleft":0,"trackid":101,"custid":52397,"heatracesvrndx":-1,"restrictresults":0,"hardcoreLevel":0,"nightMode":1,"numserversfinished":0,"heatfilteramount":"","fullcoursecautions":1,"rollingstarts":1,"heatgridsid":"","multiclass":1,"hasgrid":0,"max_pct_fuel_fills":"100","heatsessiontype":"","restrictviewing":0,"licenselevel":20,"custishost":0,"practicedur":130,"league_season_id":0,"openregexpires":1340160242000,"ingrid":0,"racesetupids":"","helmcolor1":100,"helmcolor2":255,"helmcolor3":240,"rootprivatesessionid":"","subsessionid":5871704,"fixedSetup":0,"racelength":225,"numserversstarted":1,"minir":-1,"track_name":"Bristol+Motor+Speedway"},{"qualifylaps":0,"qualtype":"O","pitsinuse":24,"privatesessionid":140998,"timelimit":120,"minliclevel":-1,"hasentry":false,"rootprivatesessionname":"ITZR+Sprint+Cars+S7R3","sessionname":"ITZR Sprint Cars S7R3","maxliclevel":-1,"launchat":1340155800000,"sessiondesc":" www.inthezomeracing.com","heataddeddrivers":0,"restarts":2,"numservers":1,"displayname":"Glenn+Cray","qualdur":10,"admincustids":"22230%2C54723%2C45990%2C33263%2C39387%2C68128","farmdisplayname":"US-MA","carids":"37","maxdrivers":45,"config_name":"","allowedentities":"","qualsetupids":"","heatgridtype":"","passwordprotected":1,"qualifylength":10,"numfasttows":1,"qualsetupfilenames":"","racesetupfilenames":"","registered":"","racelaps":0,"leagueid":0,"farmimagepath":"%2Fmember_images%2Fflags%2Fus.png","maxir":-1,"racedur":0,"helmpattern":0,"password":"","heatfiltertype":"","carsleft":38,"trackid":17,"custid":45990,"heatracesvrndx":0,"restrictresults":0,"hardcoreLevel":0,"nightMode":0,"numserversfinished":0,"heatfilteramount":"","fullcoursecautions":1,"rollingstarts":1,"heatgridsid":"","multiclass":0,"hasgrid":0,"max_pct_fuel_fills":"100","heatsessiontype":2,"restrictviewing":0,"licenselevel":14,"custishost":0,"practicedur":20,"league_season_id":0,"openregexpires":1340157636000,"ingrid":0,"racesetupids":"","helmcolor1":243,"helmcolor2":243,"helmcolor3":243,"rootprivatesessionid":140998,"subsessionid":5872076,"fixedSetup":0,"racelength":0,"numserversstarted":1,"minir":-1,"track_name":"Lanier+National+Speedway"},{"qualifylaps":0,"qualtype":"O","pitsinuse":8,"privatesessionid":141003,"timelimit":120,"minliclevel":-1,"hasentry":false,"rootprivatesessionname":"","sessionname":"Practice ","maxliclevel":-1,"launchat":1340154094000,"sessiondesc":"Marrs Practice","heataddeddrivers":"","restarts":0,"numservers":1,"displayname":"Greg+Obadia","qualdur":0,"admincustids":"67888%2C86555","farmdisplayname":"US-MA","carids":"34","maxdrivers":12,"config_name":"Road+Course","allowedentities":"","qualsetupids":"23912","heatgridtype":"","passwordprotected":0,"qualifylength":0,"numfasttows":-1,"qualsetupfilenames":"baseline%26%2346%3Bsto%2Cbaseline.sto","racesetupfilenames":"baseline%26%2346%3Bsto%2Cbaseline.sto","registered":"","racelaps":0,"leagueid":0,"farmimagepath":"%2Fmember_images%2Fflags%2Fus.png","maxir":-1,"racedur":0,"helmpattern":68,"password":"","heatfiltertype":"","carsleft":51,"trackid":37,"custid":86555,"heatracesvrndx":-1,"restrictresults":0,"hardcoreLevel":0,"nightMode":0,"numserversfinished":0,"heatfilteramount":"","fullcoursecautions":0,"rollingstarts":0,"heatgridsid":"","multiclass":1,"hasgrid":0,"max_pct_fuel_fills":"100","heatsessiontype":"","restrictviewing":0,"licenselevel":2,"custishost":0,"practicedur":120,"league_season_id":0,"openregexpires":1340161317000,"ingrid":0,"racesetupids":"23912","helmcolor1":240,"helmcolor2":96,"helmcolor3":240,"rootprivatesessionid":"","subsessionid":5871928,"fixedSetup":1,"racelength":0,"numserversstarted":1,"minir":-1,"track_name":"Charlotte+Motor+Speedway"},{"qualifylaps":2,"qualtype":"L","pitsinuse":7,"privatesessionid":141008,"timelimit":120,"minliclevel":-1,"hasentry":false,"rootprivatesessionname":"","sessionname":"Izod Indycar IOWA ","maxliclevel":-1,"launchat":1340154331000,"sessiondesc":"Indycar IOWA no caution","heataddeddrivers":"","restarts":2,"numservers":1,"displayname":"Simon+Pagenaud","qualdur":2,"admincustids":"33439","farmdisplayname":"US-MA","carids":"29","maxdrivers":43,"config_name":"Oval","allowedentities":"","qualsetupids":"","heatgridtype":"","passwordprotected":0,"qualifylength":5,"numfasttows":-1,"qualsetupfilenames":"","racesetupfilenames":"","registered":"","racelaps":100,"leagueid":0,"farmimagepath":"%2Fmember_images%2Fflags%2Fus.png","maxir":-1,"racedur":100,"helmpattern":22,"password":"","heatfiltertype":"","carsleft":36,"trackid":169,"custid":33439,"heatracesvrndx":-1,"restrictresults":0,"hardcoreLevel":0,"nightMode":1,"numserversfinished":0,"heatfilteramount":"","fullcoursecautions":0,"rollingstarts":1,"heatgridsid":"","multiclass":0,"hasgrid":0,"max_pct_fuel_fills":"30","heatsessiontype":"","restrictviewing":0,"licenselevel":7,"custishost":0,"practicedur":80,"league_season_id":0,"openregexpires":1340159450000,"ingrid":0,"racesetupids":"","helmcolor1":112,"helmcolor2":112,"helmcolor3":112,"rootprivatesessionid":"","subsessionid":5871952,"fixedSetup":0,"racelength":35,"numserversstarted":1,"minir":-1,"track_name":"Iowa+Speedway"},{"qualifylaps":0,"qualtype":"O","pitsinuse":0,"privatesessionid":141009,"timelimit":120,"minliclevel":-1,"hasentry":false,"rootprivatesessionname":"","sessionname":"GOB Fun","maxliclevel":-1,"launchat":1340154474000,"sessiondesc":"","heataddeddrivers":"","restarts":2,"numservers":1,"displayname":"JR+Sharp","qualdur":5,"admincustids":"42447%2C17054%2C23682","farmdisplayname":"US-MA","carids":"4","maxdrivers":36,"config_name":"","allowedentities":"","qualsetupids":"","heatgridtype":"","passwordprotected":1,"qualifylength":5,"numfasttows":2,"qualsetupfilenames":"","racesetupfilenames":"","registered":"","racelaps":50,"leagueid":0,"farmimagepath":"%2Fmember_images%2Fflags%2Fus.png","maxir":-1,"racedur":50,"helmpattern":5,"password":"","heatfiltertype":"","carsleft":0,"trackid":17,"custid":17054,"heatracesvrndx":-1,"restrictresults":0,"hardcoreLevel":0,"nightMode":0,"numserversfinished":0,"heatfilteramount":"","fullcoursecautions":1,"rollingstarts":1,"heatgridsid":"","multiclass":0,"hasgrid":0,"max_pct_fuel_fills":"100","heatsessiontype":"","restrictviewing":0,"licenselevel":19,"custishost":0,"practicedur":70,"league_season_id":0,"openregexpires":1340159001000,"ingrid":0,"racesetupids":"","helmcolor1":116,"helmcolor2":148,"helmcolor3":148,"rootprivatesessionid":"","subsessionid":5871966,"fixedSetup":0,"racelength":40,"numserversstarted":1,"minir":-1,"track_name":"Lanier+National+Speedway"},{"qualifylaps":0,"qualtype":"O","pitsinuse":0,"privatesessionid":141011,"timelimit":120,"minliclevel":12,"hasentry":false,"rootprivatesessionname":"","sessionname":"ARC","maxliclevel":28,"launchat":1340154750000,"sessiondesc":"ARC ","heataddeddrivers":"","restarts":2,"numservers":1,"displayname":"Gregory+L+Ellis","qualdur":0,"admincustids":"50544%2C65110%2C70188%2C49477","farmdisplayname":"US-MA","carids":"20","maxdrivers":43,"config_name":"Oval","allowedentities":"","qualsetupids":"","heatgridtype":"","passwordprotected":0,"qualifylength":0,"numfasttows":-1,"qualsetupfilenames":"","racesetupfilenames":"","registered":"","racelaps":0,"leagueid":0,"farmimagepath":"%2Fmember_images%2Fflags%2Fus.png","maxir":-1,"racedur":0,"helmpattern":68,"password":"","heatfiltertype":"","carsleft":56,"trackid":133,"custid":50544,"heatracesvrndx":-1,"restrictresults":0,"hardcoreLevel":3,"nightMode":0,"numserversfinished":0,"heatfilteramount":"","fullcoursecautions":0,"rollingstarts":1,"heatgridsid":"","multiclass":0,"hasgrid":0,"max_pct_fuel_fills":"100","heatsessiontype":"","restrictviewing":0,"licenselevel":20,"custishost":0,"practicedur":120,"league_season_id":0,"openregexpires":1340161971000,"ingrid":0,"racesetupids":"","helmcolor1":140,"helmcolor2":128,"helmcolor3":118,"rootprivatesessionid":"","subsessionid":5871988,"fixedSetup":0,"racelength":0,"numserversstarted":1,"minir":-1,"track_name":"Indianapolis+Motor+Speedway"},{"qualifylaps":0,"qualtype":"O","pitsinuse":1,"privatesessionid":141012,"timelimit":120,"minliclevel":-1,"hasentry":false,"rootprivatesessionname":"","sessionname":"Practice fun","maxliclevel":-1,"launchat":1340154889000,"sessiondesc":"","heataddeddrivers":"","restarts":2,"numservers":1,"displayname":"John+Murray2","qualdur":0,"admincustids":"54120","farmdisplayname":"US-MA","carids":"41","maxdrivers":22,"config_name":"","allowedentities":"","qualsetupids":"","heatgridtype":"","passwordprotected":0,"qualifylength":0,"numfasttows":-1,"qualsetupfilenames":"","racesetupfilenames":"","registered":"","racelaps":0,"leagueid":0,"farmimagepath":"%2Fmember_images%2Fflags%2Fus.png","maxir":-1,"racedur":0,"helmpattern":20,"password":"","heatfiltertype":"","carsleft":60,"trackid":162,"custid":54120,"heatracesvrndx":-1,"restrictresults":0,"hardcoreLevel":0,"nightMode":0,"numserversfinished":0,"heatfilteramount":"","fullcoursecautions":0,"rollingstarts":1,"heatgridsid":"","multiclass":0,"hasgrid":0,"max_pct_fuel_fills":"100","heatsessiontype":"","restrictviewing":0,"licenselevel":14,"custishost":0,"practicedur":120,"league_season_id":0,"openregexpires":1340162099000,"ingrid":0,"racesetupids":"","helmcolor1":112,"helmcolor2":112,"helmcolor3":240,"rootprivatesessionid":"","subsessionid":5871991,"fixedSetup":0,"racelength":0,"numserversstarted":1,"minir":-1,"track_name":"Dover+International+Speedway"},{"qualifylaps":0,"qualtype":"O","pitsinuse":9,"privatesessionid":141014,"timelimit":120,"minliclevel":1,"hasentry":false,"rootprivatesessionname":"","sessionname":"ARC","maxliclevel":28,"launchat":1340155604000,"sessiondesc":"ARC ","heataddeddrivers":"","restarts":2,"numservers":1,"displayname":"Gregory+L+Ellis","qualdur":0,"admincustids":"49477%2C50544%2C65110%2C70188","farmdisplayname":"US-MA","carids":"20","maxdrivers":43,"config_name":"Oval","allowedentities":"","qualsetupids":"","heatgridtype":"","passwordprotected":0,"qualifylength":0,"numfasttows":-1,"qualsetupfilenames":"","racesetupfilenames":"","registered":"","racelaps":0,"leagueid":0,"farmimagepath":"%2Fmember_images%2Fflags%2Fus.png","maxir":-1,"racedur":0,"helmpattern":68,"password":"","heatfiltertype":"","carsleft":52,"trackid":133,"custid":50544,"heatracesvrndx":-1,"restrictresults":0,"hardcoreLevel":3,"nightMode":0,"numserversfinished":0,"heatfilteramount":"","fullcoursecautions":0,"rollingstarts":1,"heatgridsid":"","multiclass":0,"hasgrid":0,"max_pct_fuel_fills":"100","heatsessiontype":"","restrictviewing":0,"licenselevel":20,"custishost":0,"practicedur":120,"league_season_id":0,"openregexpires":1340162817000,"ingrid":0,"racesetupids":"","helmcolor1":140,"helmcolor2":128,"helmcolor3":118,"rootprivatesessionid":"","subsessionid":5872049,"fixedSetup":0,"racelength":0,"numserversstarted":1,"minir":-1,"track_name":"Indianapolis+Motor+Speedway"},{"qualifylaps":2,"qualtype":"L","pitsinuse":6,"privatesessionid":141016,"timelimit":120,"minliclevel":-1,"hasentry":false,"rootprivatesessionname":"","sessionname":"old racers","maxliclevel":-1,"launchat":1340155699000,"sessiondesc":"YOUR STUPID YOUR OUT ","heataddeddrivers":"","restarts":2,"numservers":1,"displayname":"Raymond+Ratell","qualdur":2,"admincustids":"79623","farmdisplayname":"US-MA","carids":"20","maxdrivers":43,"config_name":"Oval","allowedentities":"","qualsetupids":"","heatgridtype":"","passwordprotected":0,"qualifylength":5,"numfasttows":-1,"qualsetupfilenames":"","racesetupfilenames":"","registered":"","racelaps":65,"leagueid":0,"farmimagepath":"%2Fmember_images%2Fflags%2Fus.png","maxir":-1,"racedur":65,"helmpattern":1,"password":"","heatfiltertype":"","carsleft":37,"trackid":53,"custid":79623,"heatracesvrndx":-1,"restrictresults":0,"hardcoreLevel":0,"nightMode":0,"numserversfinished":0,"heatfilteramount":"","fullcoursecautions":0,"rollingstarts":1,"heatgridsid":"","multiclass":0,"hasgrid":0,"max_pct_fuel_fills":"50","heatsessiontype":"","restrictviewing":0,"licenselevel":2,"custishost":0,"practicedur":40,"league_season_id":0,"openregexpires":1340158404000,"ingrid":0,"racesetupids":"","helmcolor1":255,"helmcolor2":252,"helmcolor3":246,"rootprivatesessionid":"","subsessionid":5872057,"fixedSetup":0,"racelength":50,"numserversstarted":1,"minir":-1,"track_name":"Atlanta+Motor+Speedway"},{"qualifylaps":0,"qualtype":"O","pitsinuse":1,"privatesessionid":141017,"timelimit":120,"minliclevel":-1,"hasentry":false,"rootprivatesessionname":"","sessionname":"Practice fun","maxliclevel":-1,"launchat":1340155721000,"sessiondesc":"","heataddeddrivers":"","restarts":2,"numservers":1,"displayname":"John+Murray2","qualdur":0,"admincustids":"54120","farmdisplayname":"US-MA","carids":"31","maxdrivers":22,"config_name":"","allowedentities":"","qualsetupids":"","heatgridtype":"","passwordprotected":0,"qualifylength":0,"numfasttows":-1,"qualsetupfilenames":"","racesetupfilenames":"","registered":"","racelaps":0,"leagueid":0,"farmimagepath":"%2Fmember_images%2Fflags%2Fus.png","maxir":-1,"racedur":0,"helmpattern":20,"password":"","heatfiltertype":"","carsleft":61,"trackid":162,"custid":54120,"heatracesvrndx":-1,"restrictresults":0,"hardcoreLevel":0,"nightMode":0,"numserversfinished":0,"heatfilteramount":"","fullcoursecautions":0,"rollingstarts":1,"heatgridsid":"","multiclass":0,"hasgrid":0,"max_pct_fuel_fills":"100","heatsessiontype":"","restrictviewing":0,"licenselevel":14,"custishost":0,"practicedur":120,"league_season_id":0,"openregexpires":1340162936000,"ingrid":0,"racesetupids":"","helmcolor1":112,"helmcolor2":112,"helmcolor3":240,"rootprivatesessionid":"","subsessionid":5872059,"fixedSetup":0,"racelength":0,"numserversstarted":1,"minir":-1,"track_name":"Dover+International+Speedway"},{"qualifylaps":0,"qualtype":"O","pitsinuse":2,"privatesessionid":141018,"timelimit":120,"minliclevel":-1,"hasentry":false,"rootprivatesessionname":"","sessionname":"TMA","maxliclevel":-1,"launchat":1340155772000,"sessiondesc":"","heataddeddrivers":"","restarts":0,"numservers":1,"displayname":"Eduardo+Tomedi","qualdur":0,"admincustids":"15931","farmdisplayname":"US-MA","carids":"21","maxdrivers":26,"config_name":"Boot","allowedentities":"","qualsetupids":"","heatgridtype":"","passwordprotected":1,"qualifylength":0,"numfasttows":-1,"qualsetupfilenames":"","racesetupfilenames":"","registered":"","racelaps":0,"leagueid":0,"farmimagepath":"%2Fmember_images%2Fflags%2Fus.png","maxir":-1,"racedur":0,"helmpattern":66,"password":"","heatfiltertype":"","carsleft":60,"trackid":107,"custid":15931,"heatracesvrndx":-1,"restrictresults":0,"hardcoreLevel":0,"nightMode":0,"numserversfinished":0,"heatfilteramount":"","fullcoursecautions":0,"rollingstarts":1,"heatgridsid":"","multiclass":0,"hasgrid":0,"max_pct_fuel_fills":"100","heatsessiontype":"","restrictviewing":0,"licenselevel":10,"custishost":0,"practicedur":120,"league_season_id":0,"openregexpires":1340163000000,"ingrid":0,"racesetupids":"","helmcolor1":70,"helmcolor2":255,"helmcolor3":240,"rootprivatesessionid":"","subsessionid":5872063,"fixedSetup":0,"racelength":0,"numserversstarted":1,"minir":-1,"track_name":"Watkins+Glen+International"},{"qualifylaps":2,"qualtype":"L","pitsinuse":12,"privatesessionid":141019,"timelimit":120,"minliclevel":2,"hasentry":false,"rootprivatesessionname":"","sessionname":"LAYE MODEL FAST TIME!","maxliclevel":21,"launchat":1340155832000,"sessiondesc":"CAUTIONS ON /// DOUBLE FILE LAPPED AT BACK /// 3 FAST TOWS ///100% FUEL /// 52 LAPS /// PIT ROAD SPEEDING, PASSING UNDER YELLOW OR CROSS S/F OUT OF LINE BLACK FLAGS NOT CLEARED - MUST SERVE! ","heataddeddrivers":"","restarts":2,"numservers":1,"displayname":"Kerwin+Clark","qualdur":2,"admincustids":"52342%2C69702%2C65341%2C63249%2C61582%2C45183%2C36449","farmdisplayname":"US-MA","carids":"12","maxdrivers":28,"config_name":"Oval","allowedentities":"","qualsetupids":"","heatgridtype":"","passwordprotected":0,"qualifylength":5,"numfasttows":3,"qualsetupfilenames":"","racesetupfilenames":"","registered":"","racelaps":52,"leagueid":0,"farmimagepath":"%2Fmember_images%2Fflags%2Fus.png","maxir":-1,"racedur":52,"helmpattern":17,"password":"","heatfiltertype":"","carsleft":16,"trackid":40,"custid":45183,"heatracesvrndx":-1,"restrictresults":1,"hardcoreLevel":0,"nightMode":1,"numserversfinished":0,"heatfilteramount":"","fullcoursecautions":1,"rollingstarts":1,"heatgridsid":"","multiclass":1,"hasgrid":0,"max_pct_fuel_fills":"100","heatsessiontype":"","restrictviewing":0,"licenselevel":7,"custishost":0,"practicedur":30,"league_season_id":0,"openregexpires":1340157953000,"ingrid":0,"racesetupids":"","helmcolor1":99,"helmcolor2":108,"helmcolor3":92,"rootprivatesessionid":"","subsessionid":5872077,"fixedSetup":0,"racelength":85,"numserversstarted":1,"minir":-1,"track_name":"Charlotte+Motor+Speedway"},{"qualifylaps":0,"qualtype":"O","pitsinuse":7,"privatesessionid":141020,"timelimit":120,"minliclevel":-1,"hasentry":false,"rootprivatesessionname":"","sessionname":"clean","maxliclevel":-1,"launchat":1340155996000,"sessiondesc":"quick tows onnn","heataddeddrivers":"","restarts":2,"numservers":1,"displayname":"TJ+Bleau","qualdur":10,"admincustids":"79327","farmdisplayname":"US-MA","carids":"2","maxdrivers":43,"config_name":"","allowedentities":"","qualsetupids":"","heatgridtype":"","passwordprotected":0,"qualifylength":10,"numfasttows":-1,"qualsetupfilenames":"","racesetupfilenames":"","registered":"","racelaps":150,"leagueid":0,"farmimagepath":"%2Fmember_images%2Fflags%2Fus.png","maxir":-1,"racedur":150,"helmpattern":19,"password":"","heatfiltertype":"","carsleft":36,"trackid":17,"custid":79327,"heatracesvrndx":-1,"restrictresults":0,"hardcoreLevel":0,"nightMode":0,"numserversfinished":0,"heatfilteramount":"","fullcoursecautions":1,"rollingstarts":1,"heatgridsid":"","multiclass":0,"hasgrid":0,"max_pct_fuel_fills":"100","heatsessiontype":"","restrictviewing":0,"licenselevel":1,"custishost":0,"practicedur":40,"league_season_id":0,"openregexpires":1340159017000,"ingrid":0,"racesetupids":"","helmcolor1":240,"helmcolor2":129,"helmcolor3":110,"rootprivatesessionid":"","subsessionid":5872083,"fixedSetup":0,"racelength":60,"numserversstarted":1,"minir":-1,"track_name":"Lanier+National+Speedway"},{"qualifylaps":3,"qualtype":"L","pitsinuse":11,"privatesessionid":141022,"timelimit":120,"minliclevel":1,"hasentry":false,"rootprivatesessionname":"","sessionname":"Daytona","maxliclevel":20,"launchat":1340156213000,"sessiondesc":"Unlimited Tow, Caution On, 50% Fuel, 30 Laps","heataddeddrivers":"","restarts":2,"numservers":1,"displayname":"Tommie+Proffitt","qualdur":3,"admincustids":"80383","farmdisplayname":"US-MA","carids":"22","maxdrivers":43,"config_name":"Oval","allowedentities":"","qualsetupids":"","heatgridtype":"","passwordprotected":0,"qualifylength":5,"numfasttows":-1,"qualsetupfilenames":"","racesetupfilenames":"","registered":"","racelaps":30,"leagueid":0,"farmimagepath":"%2Fmember_images%2Fflags%2Fus.png","maxir":-1,"racedur":30,"helmpattern":1,"password":"","heatfiltertype":"","carsleft":32,"trackid":191,"custid":80383,"heatracesvrndx":-1,"restrictresults":1,"hardcoreLevel":1,"nightMode":1,"numserversfinished":0,"heatfilteramount":"","fullcoursecautions":1,"rollingstarts":1,"heatgridsid":"","multiclass":0,"hasgrid":0,"max_pct_fuel_fills":"100","heatsessiontype":"","restrictviewing":1,"licenselevel":2,"custishost":0,"practicedur":30,"league_season_id":0,"openregexpires":1340158335000,"ingrid":0,"racesetupids":"","helmcolor1":255,"helmcolor2":252,"helmcolor3":246,"rootprivatesessionid":"","subsessionid":5872091,"fixedSetup":0,"racelength":60,"numserversstarted":1,"minir":-1,"track_name":"Daytona+International+Speedway"},{"qualifylaps":0,"qualtype":"O","pitsinuse":0,"privatesessionid":141025,"timelimit":120,"minliclevel":-1,"hasentry":false,"rootprivatesessionname":"","sessionname":"Talladega Class B Fixed Practice","maxliclevel":-1,"launchat":1340156527000,"sessiondesc":"Class B Fixed Practice","heataddeddrivers":"","restarts":2,"numservers":1,"displayname":"Tony+Kaylor","qualdur":0,"admincustids":"33552","farmdisplayname":"US-MA","carids":"38","maxdrivers":25,"config_name":"","allowedentities":"","qualsetupids":"","heatgridtype":"","passwordprotected":0,"qualifylength":0,"numfasttows":0,"qualsetupfilenames":"","racesetupfilenames":"talladega%26%2395%3Bfixed%26%2346%3Bsto","registered":"","racelaps":0,"leagueid":0,"farmimagepath":"%2Fmember_images%2Fflags%2Fus.png","maxir":-1,"racedur":0,"helmpattern":48,"password":"","heatfiltertype":"","carsleft":61,"trackid":116,"custid":33552,"heatracesvrndx":-1,"restrictresults":1,"hardcoreLevel":0,"nightMode":0,"numserversfinished":0,"heatfilteramount":"","fullcoursecautions":0,"rollingstarts":1,"heatgridsid":"","multiclass":0,"hasgrid":0,"max_pct_fuel_fills":"100","heatsessiontype":"","restrictviewing":1,"licenselevel":19,"custishost":0,"practicedur":120,"league_season_id":0,"openregexpires":1340163752000,"ingrid":0,"racesetupids":"24852","helmcolor1":112,"helmcolor2":240,"helmcolor3":255,"rootprivatesessionid":"","subsessionid":5872109,"fixedSetup":1,"racelength":0,"numserversstarted":1,"minir":-1,"track_name":"Talladega+Superspeedway"},{"qualifylaps":0,"qualtype":"O","pitsinuse":4,"privatesessionid":141026,"timelimit":120,"minliclevel":-1,"hasentry":false,"rootprivatesessionname":"","sessionname":"Talladega Class B Fixed Practice","maxliclevel":-1,"launchat":1340156557000,"sessiondesc":"Class B Fixed Practice","heataddeddrivers":"","restarts":2,"numservers":1,"displayname":"Tony+Kaylor","qualdur":0,"admincustids":"33552","farmdisplayname":"US-MA","carids":"38","maxdrivers":25,"config_name":"","allowedentities":"","qualsetupids":"","heatgridtype":"","passwordprotected":0,"qualifylength":0,"numfasttows":0,"qualsetupfilenames":"","racesetupfilenames":"talladega%26%2395%3Bfixed%26%2346%3Bsto","registered":"","racelaps":0,"leagueid":0,"farmimagepath":"%2Fmember_images%2Fflags%2Fus.png","maxir":-1,"racedur":0,"helmpattern":48,"password":"","heatfiltertype":"","carsleft":58,"trackid":116,"custid":33552,"heatracesvrndx":-1,"restrictresults":1,"hardcoreLevel":0,"nightMode":0,"numserversfinished":0,"heatfilteramount":"","fullcoursecautions":0,"rollingstarts":1,"heatgridsid":"","multiclass":0,"hasgrid":0,"max_pct_fuel_fills":"100","heatsessiontype":"","restrictviewing":1,"licenselevel":19,"custishost":0,"practicedur":120,"league_season_id":0,"openregexpires":1340163765000,"ingrid":0,"racesetupids":"24852","helmcolor1":112,"helmcolor2":240,"helmcolor3":255,"rootprivatesessionid":"","subsessionid":5872112,"fixedSetup":1,"racelength":0,"numserversstarted":1,"minir":-1,"track_name":"Talladega+Superspeedway"},{"qualifylaps":0,"qualtype":"O","pitsinuse":2,"privatesessionid":141027,"timelimit":120,"minliclevel":-1,"hasentry":false,"rootprivatesessionname":"","sessionname":"HAL Practice","maxliclevel":-1,"launchat":1340156983000,"sessiondesc":"","heataddeddrivers":"","restarts":2,"numservers":1,"displayname":"David+Berry","qualdur":0,"admincustids":"15301","farmdisplayname":"US-MA","carids":"20","maxdrivers":26,"config_name":"","allowedentities":"","qualsetupids":"","heatgridtype":"","passwordprotected":1,"qualifylength":0,"numfasttows":0,"qualsetupfilenames":"","racesetupfilenames":"","registered":"","racelaps":0,"leagueid":0,"farmimagepath":"%2Fmember_images%2Fflags%2Fus.png","maxir":-1,"racedur":0,"helmpattern":19,"password":"","heatfiltertype":"","carsleft":60,"trackid":124,"custid":15301,"heatracesvrndx":-1,"restrictresults":0,"hardcoreLevel":0,"nightMode":0,"numserversfinished":0,"heatfilteramount":"","fullcoursecautions":0,"rollingstarts":1,"heatgridsid":"","multiclass":0,"hasgrid":0,"max_pct_fuel_fills":"100","heatsessiontype":"","restrictviewing":0,"licenselevel":20,"custishost":0,"practicedur":120,"league_season_id":0,"openregexpires":1340164199000,"ingrid":0,"racesetupids":"","helmcolor1":129,"helmcolor2":254,"helmcolor3":110,"rootprivatesessionid":"","subsessionid":5872154,"fixedSetup":0,"racelength":0,"numserversstarted":1,"minir":-1,"track_name":"Michigan+International+Speedway"},{"qualifylaps":2,"qualtype":"L","pitsinuse":2,"privatesessionid":141028,"timelimit":120,"minliclevel":3,"hasentry":false,"rootprivatesessionname":"","sessionname":"shootout","maxliclevel":20,"launchat":1340157036000,"sessiondesc":"PIT STOP CAUTIONS OFF ","heataddeddrivers":"","restarts":2,"numservers":1,"displayname":"Andrew+Morin","qualdur":2,"admincustids":"85736%2C92378%2C40664%2C83018%2C63850%2C53398%2C46261","farmdisplayname":"US-MA","carids":"22","maxdrivers":43,"config_name":"Oval","allowedentities":"","qualsetupids":"","heatgridtype":"","passwordprotected":0,"qualifylength":5,"numfasttows":3,"qualsetupfilenames":"","racesetupfilenames":"","registered":"","racelaps":15,"leagueid":0,"farmimagepath":"%2Fmember_images%2Fflags%2Fus.png","maxir":-1,"racedur":15,"helmpattern":32,"password":"","heatfiltertype":"","carsleft":41,"trackid":191,"custid":40664,"heatracesvrndx":-1,"restrictresults":0,"hardcoreLevel":0,"nightMode":1,"numserversfinished":0,"heatfilteramount":"","fullcoursecautions":0,"rollingstarts":1,"heatgridsid":"","multiclass":0,"hasgrid":0,"max_pct_fuel_fills":"100","heatsessiontype":"","restrictviewing":0,"licenselevel":19,"custishost":0,"practicedur":30,"league_season_id":0,"openregexpires":1340159156000,"ingrid":0,"racesetupids":"","helmcolor1":95,"helmcolor2":240,"helmcolor3":252,"rootprivatesessionid":"","subsessionid":5872162,"fixedSetup":0,"racelength":45,"numserversstarted":1,"minir":-1,"track_name":"Daytona+International+Speedway"},{"qualifylaps":4,"qualtype":"L","pitsinuse":2,"privatesessionid":141029,"timelimit":120,"minliclevel":-1,"hasentry":false,"rootprivatesessionname":"","sessionname":"READ SESSION RULES BEFORE JOINING","maxliclevel":-1,"launchat":1340157054000,"sessiondesc":"NO ENTRY TILL YOU HAVE READ THIS: This is not a session for testing or for rookies. Sporting code in FULL effect including prohibitions on foul language, driver disrespect and general ass head behavior. BE CAREFUL LEAVING THE PITS * ENTER ON THE BACKSTRETCH ONLY * DO NOT FORCE BLEND WITH CARS UP TO SPEED. This may well be the fastest boot button in iRacing.","heataddeddrivers":"","restarts":2,"numservers":1,"displayname":"Stephen+Bailey","qualdur":4,"admincustids":"59640%2C54841%2C49330%2C49271%2C29643%2C26020%2C19267%2C61352","farmdisplayname":"US-MA","carids":"29","maxdrivers":42,"config_name":"Oval","allowedentities":"","qualsetupids":"","heatgridtype":"","passwordprotected":0,"qualifylength":10,"numfasttows":1,"qualsetupfilenames":"","racesetupfilenames":"","registered":"","racelaps":20,"leagueid":0,"farmimagepath":"%2Fmember_images%2Fflags%2Fus.png","maxir":-1,"racedur":20,"helmpattern":61,"password":"","heatfiltertype":"","carsleft":40,"trackid":191,"custid":26020,"heatracesvrndx":-1,"restrictresults":0,"hardcoreLevel":1,"nightMode":1,"numserversfinished":0,"heatfilteramount":"","fullcoursecautions":0,"rollingstarts":1,"heatgridsid":"","multiclass":0,"hasgrid":0,"max_pct_fuel_fills":"100","heatsessiontype":"","restrictviewing":0,"licenselevel":10,"custishost":0,"practicedur":90,"league_season_id":0,"openregexpires":1340163075000,"ingrid":0,"racesetupids":"","helmcolor1":255,"helmcolor2":240,"helmcolor3":255,"rootprivatesessionid":"","subsessionid":5872167,"fixedSetup":0,"racelength":20,"numserversstarted":1,"minir":-1,"track_name":"Daytona+International+Speedway"},{"qualifylaps":0,"qualtype":"O","pitsinuse":7,"privatesessionid":141030,"timelimit":240,"minliclevel":-1,"hasentry":false,"rootprivatesessionname":"","sessionname":"TCS CUSTOM DIECAST PRO SERIES ","maxliclevel":-1,"launchat":1340157129000,"sessiondesc":"www.nobullmotorsport.com","heataddeddrivers":"","restarts":2,"numservers":1,"displayname":"Rodney+Kramer","qualdur":40,"admincustids":"18222%2C39455%2C54211%2C76205","farmdisplayname":"US-MA","carids":"22","maxdrivers":43,"config_name":"Oval","allowedentities":"","qualsetupids":"24855","heatgridtype":"","passwordprotected":1,"qualifylength":40,"numfasttows":1,"qualsetupfilenames":"charlotte%26%2395%3Bfixed%26%2346%3Bsto%2Ccharlotte_fixed.sto","racesetupfilenames":"charlotte%26%2395%3Bfixed%26%2346%3Bsto%2Ccharlotte_fixed.sto","registered":"","racelaps":130,"leagueid":0,"farmimagepath":"%2Fmember_images%2Fflags%2Fus.png","maxir":-1,"racedur":130,"helmpattern":61,"password":"","heatfiltertype":"","carsleft":36,"trackid":53,"custid":39455,"heatracesvrndx":-1,"restrictresults":0,"hardcoreLevel":0,"nightMode":0,"numserversfinished":0,"heatfilteramount":"","fullcoursecautions":1,"rollingstarts":1,"heatgridsid":"","multiclass":0,"hasgrid":0,"max_pct_fuel_fills":"100","heatsessiontype":"","restrictviewing":0,"licenselevel":20,"custishost":0,"practicedur":50,"league_season_id":0,"openregexpires":1340162553000,"ingrid":0,"racesetupids":"24855","helmcolor1":240,"helmcolor2":239,"helmcolor3":240,"rootprivatesessionid":"","subsessionid":5872176,"fixedSetup":1,"racelength":150,"numserversstarted":1,"minir":-1,"track_name":"Atlanta+Motor+Speedway"},{"qualifylaps":0,"qualtype":"O","pitsinuse":1,"privatesessionid":141031,"timelimit":120,"minliclevel":-1,"hasentry":false,"rootprivatesessionname":"","sessionname":"langley","maxliclevel":-1,"launchat":1340157395000,"sessiondesc":"have fun ","heataddeddrivers":"","restarts":0,"numservers":1,"displayname":"Connor+Hall","qualdur":30,"admincustids":"68608","farmdisplayname":"US-MA","carids":"5","maxdrivers":25,"config_name":"","allowedentities":"","qualsetupids":"","heatgridtype":"","passwordprotected":0,"qualifylength":30,"numfasttows":-1,"qualsetupfilenames":"","racesetupfilenames":"","registered":"","racelaps":100,"leagueid":0,"farmimagepath":"%2Fmember_images%2Fflags%2Fus.png","maxir":-1,"racedur":100,"helmpattern":52,"password":"","heatfiltertype":"","carsleft":24,"trackid":201,"custid":68608,"heatracesvrndx":-1,"restrictresults":0,"hardcoreLevel":0,"nightMode":1,"numserversfinished":0,"heatfilteramount":"","fullcoursecautions":1,"rollingstarts":1,"heatgridsid":"","multiclass":0,"hasgrid":0,"max_pct_fuel_fills":"100","heatsessiontype":"","restrictviewing":0,"licenselevel":10,"custishost":0,"practicedur":20,"league_season_id":0,"openregexpires":1340160416000,"ingrid":0,"racesetupids":"","helmcolor1":129,"helmcolor2":255,"helmcolor3":240,"rootprivatesessionid":"","subsessionid":5872196,"fixedSetup":0,"racelength":70,"numserversstarted":1,"minir":-1,"track_name":"Langley+Speedway"}],mine:[],gridded:[]} // the following works around a bug in json.simple-1.1.1 where it fails to parse when object keys aren't surrounded by double quotes if (json.startsWith("{all:")) { json = json.replace("{all:", "{\"all\":"); json = json.replace(",mine:", ",\"mine\":"); json = json.replace(",gridded:", ",\"gridded\":"); }// w w w . j a va 2 s. c om List<HostedSessionSummary> output = new ArrayList<HostedSessionSummary>(); JSONParser parser = new JSONParser(); try { JSONObject root = (JSONObject) parser.parse(json); JSONArray sessions = (JSONArray) root.get("all"); for (int i = 0; i < sessions.size(); i++) { //"heataddeddrivers":"" //"allowedentities":"" //"qualsetupids":"25540" //"heatgridtype":"" //"racesetupids":"25540" //"qualsetupfilenames":"DH%26%2345%3BIndy%26%2345%3BS2%26%2345%3BRace%26%2346%3Bsto%2CDH-Indy-S2-Race.sto" //"racesetupfilenames":"DH%26%2345%3BIndy%26%2345%3BS2%26%2345%3BRace%26%2346%3Bsto%2CDH-Indy-S2-Race.sto" //"helmpattern":19 //"helmcolor1":240 //"helmcolor2":115 //"helmcolor3":92 //"heatfiltertype":"" //"heatracesvrndx":-1 //"heatfilteramount":"" //"heatgridsid":"" //"heatsessiontype":"" JSONObject session = (JSONObject) sessions.get(i); HostedSessionSummary summary = new HostedSessionSummary(); summary.setQualifyingLaps(getInt(session, "qualifylaps")); String s = (String) session.get("qualtype"); //if ("L".equals(s)) summary.setQualifyingType(); // L = lap + time //if ("O".equals(s)) summary.setQualifyingType(); // O = no qualifying summary.setPitsInUse(getInt(session, "pitsinuse")); summary.setPrivateSessionId(getLong(session, "privatesessionid")); summary.setTimeLimit(getInt(session, "timelimit")); summary.setMinimumLicenseLevel(getInt(session, "minliclevel")); summary.setMaximumLecenseLevel(getInt(session, "maxliclevel")); summary.setHasEntry((Boolean) session.get("hasentry")); summary.setRootPrivateSessionName(getString(session, "rootprivatesessionname")); summary.setSessionName(StringEscapeUtils.unescapeHtml4(getString(session, "sessionname", true))); summary.setSessionDescription( StringEscapeUtils.unescapeHtml4(getString(session, "sessiondesc", true))); summary.setLaunchAt(new Date(getLong(session, "launchat"))); summary.setRestarts(getInt(session, "restarts")); summary.setNumberOfServers(getInt(session, "numservers")); IracingCustomer host = new IracingCustomer(); host.setName(getString(session, "displayname", true)); host.setId(getLong(session, "custid")); summary.setHost(host); summary.setQualifyingDuration(getInt(session, "qualdur")); s = getString(session, "admincustids", true); String[] sa = s.split(","); List<Long> adminIds = new ArrayList<Long>(); for (String id : sa) { adminIds.add(Long.parseLong(id)); } summary.setAdminCustomerIds(adminIds); summary.setFarmDisplayName(getString(session, "farmdisplayname")); summary.setMaximumDrivers(getInt(session, "maxdrivers")); s = getString(session, "carids", true); sa = s.split(","); List<Integer> carIds = new ArrayList<Integer>(); for (String id : sa) { carIds.add(Integer.parseInt(id)); } summary.setCarIds(carIds); //"max_pct_fuel_fills":"100" summary.setPasswordProtected((getInt(session, "passwordprotected")) == 1); summary.setQualifyingLength(getInt(session, "qualifylength")); summary.setNumberOfFastTows(getInt(session, "numfasttows")); summary.setRaceLaps(getInt(session, "racelaps")); summary.setLeagueId(getLong(session, "leagueid")); summary.setLeagueSeasonId(getLong(session, "league_season_id")); summary.setFarmImagePath(getString(session, "farmimagepath", true)); summary.setMinimumIrating(getInt(session, "minir")); summary.setMaximumIrating(getInt(session, "maxir")); summary.setPracticeDuration(getInt(session, "practicedur")); summary.setRaceDuration(getInt(session, "racedur")); summary.setRaceLength(getInt(session, "racelength")); summary.setCarsLeft(getInt(session, "carsleft")); summary.setTrackId(getInt(session, "trackid")); summary.setTrackName(getString(session, "track_name", true)); summary.setTrackConfigName(getString(session, "config_name", true)); summary.setRestrictResults((getInt(session, "restrictresults")) == 1); summary.setRestrictViewing((getInt(session, "restrictviewing")) == 1); summary.setHardcoreLevel(getInt(session, "hardcoreLevel")); summary.setNightMode((getInt(session, "nightMode")) == 1); summary.setNumberOfServersStarted(getInt(session, "numserversstarted")); summary.setNumberOfServersFinished(getInt(session, "numserversfinished")); summary.setFullCourseCautions((getInt(session, "fullcoursecautions")) == 1); summary.setRollingStarts((getInt(session, "rollingstarts")) == 1); summary.setMulticlass((getInt(session, "multiclass")) == 1); summary.setFixedSetup((getInt(session, "fixedSetup")) == 1); summary.setHasGrid((getInt(session, "hasgrid")) == 1); summary.setLicenseLevel(getInt(session, "licenselevel")); summary.setApiUserIsHost((getInt(session, "custishost")) == 1); summary.setRegistrationExpires(new Date(getLong(session, "openregexpires"))); summary.setInGrid((getInt(session, "ingrid")) == 1); summary.setRootPrivateSessionId(getString(session, "rootprivatesessionid")); summary.setSubSessionId(getLong(session, "subsessionid")); output.add(summary); } } catch (ParseException ex) { Logger.getLogger(HostedSessionSummaryParser.class.getName()).log(Level.SEVERE, null, ex); } return output; }
From source file:bolt.DucksBoard.java
public DucksBoard(String json) { Object obj = JSONValue.parse(json); JSONArray array = (JSONArray) obj; JSONObject obj2 = (JSONObject) array.get(0); this.idString = obj2.get("id").toString(); this.keyString = obj2.get("key").toString(); }
From source file:Connector.AlchemyConnector.java
public void getConnection() { try {//from ww w .ja va2s . c om String envServices = System.getenv("VCAP_SERVICES"); JSONParser parser = new JSONParser(); Object obj = parser.parse(envServices); JSONObject jsonObject = (JSONObject) obj; JSONArray vcapArray = (JSONArray) jsonObject.get("alchemy_api"); JSONObject vcap = (JSONObject) vcapArray.get(0); JSONObject credentials = (JSONObject) vcap.get("credentials"); apiKey = credentials.get("apikey").toString(); } catch (ParseException ex) { } }
From source file:Connector.Embeddable.java
public void getConnection() { try {// w w w .j a va2 s . co m String envServices = System.getenv("VCAP_SERVICES"); JSONParser parser = new JSONParser(); Object obj = parser.parse(envServices); JSONObject jsonObject = (JSONObject) obj; JSONArray vcapArray = (JSONArray) jsonObject.get("erservice"); JSONObject vcap = (JSONObject) vcapArray.get(0); JSONObject credentials = (JSONObject) vcap.get("credentials"); url = credentials.get("url").toString(); password = credentials.get("password").toString(); userid = credentials.get("userid").toString(); } catch (ParseException ex) { } }
From source file:com.telefonica.pyretic.backendchannel.BackendChannel.java
@Override void foundTerminator() { /*The end of a command or message has been seen. * *///w ww.ja va2 s .c o m Object obj = JSONValue.parse(this.getBuff()); JSONArray array = (JSONArray) obj; String type = array.get(0).toString(); if (type.equals("packet")) { multiHandler.sendToSwitch((JSONObject) array.get(1), type); } else if (type.equals("inject_discovery_packet")) { JSONObject newObj = new JSONObject(); newObj.put("switch", array.get(1)); newObj.put("inport", array.get(2)); multiHandler.sendToSwitch(newObj, type); } else if (type.equals("install")) { System.out.println("install"); } else if (type.equals("delete")) { System.out.println("delete"); } else if (type.equals("clear")) { System.out.println("clear"); } else if (type.equals("barrier")) { System.out.println("clear"); } else if (type.equals("flow_stats_request")) { System.out.println("clear"); } else { System.out.println("ERROR: Unknown msg from frontend " + array.get(1)); } }