function enableJsonValidationCheck(value, isJsonCheckBox) {
  try {
    // can use normal json.parse here as some bigint values changing are not relevant
    JSON.parse(value);
    // if this is valid json and is array or object assume we want validation active
    if (value.match(simpleObjRE)) {
      $(isJsonCheckBox).trigger('click');
    }
  }
  catch (ex) {
    // do nothing
  }
}
check if given string value is valid json and, if so enable validation
 for given field if this is an json object or array. Do not automatically
 enable validation on numbers or quoted strings. May be coincidence that this is json...

 @param {string} value string to check if valid json
 @param {string} isJsonCheckBox id string of checkbox element to activate validation