public static Set<Emoticon> parseSetEmotes(String json,Emoticon.SubType subType,String room){
  try {
    JSONParser parser=new JSONParser();
    JSONObject root=(JSONObject)parser.parse(json);
    JSONObject setData=(JSONObject)root.get("set");
    return parseEmoteSet(setData,room,subType);
  }
 catch (  ParseException|ClassCastException|NullPointerException ex) {
    LOGGER.warning("Error parsing FFZ emotes: " + ex);
  }
  return new HashSet<>();
}

public static Set < Emoticon > parseSetEmotes ( String json , Emoticon . SubType subType , String room ) { try { JSONParser parser = new JSONParser ( ) ; JSONObject root = ( JSONObject ) parser . parse ( json ) ; JSONObject setData = ( JSONObject ) root . get ( "set" ) ; return parseEmoteSet ( setData , room , subType ) ; } catch ( ParseException | ClassCastException | NullPointerException ex ) { LOGGER . warning ( "Error parsing FFZ emotes: " + ex ) ; } return new HashSet < > ( ) ; }
parses the emotes of the set request . request : / set / : id
