public String getLinkColor ( JSONObject jsonObject ) { if ( jsonObject == null ) return null ; try { return jsonObject . has ( "color" ) ? jsonObject . getString ( "color" ) : "" ; } catch ( JSONException e ) { Logger . v ( "Unable to get Link Text Color with JSON - " + e . getLocalizedMessage ( ) ) ; return null ; } }
Returns the text color for the JSONObject of Link provided