public static CmsUUID readId ( JSONObject obj , String key ) { String strValue = obj . optString ( key ) ; if ( ! CmsUUID . isValidUUID ( strValue ) ) { return null ; } return new CmsUUID ( strValue ) ; }
Reads a UUID from a JSON object .