code: function getValue(property, attrVal) {
      if ((attrVal === '' || ((property.attrName || property.name) === attrVal)) && property.accepts(Boolean)) {
          return true;
      }
      if (!property.accepts(String)) {
          try {
              return JSON.parse(attrVal);
          } catch (ex) {
              //
          }
      }
      return attrVal;
  }
docs: Try to parse attribute value checking the property validation types.
  @private
  
  @param {Property} property The property to update.
  @param {String} attrVal The attribute value.
  @return {*} The parsed value.