code: function fixNonStringValue(value, skipError) {
    if (typeof value !== 'string') {
      return value;
    }
  
    if (value === '') {
      return undefined;
    }
  
    var lcValue = value.toLowerCase();
  
    if (lcValue === 'true') {
      return true;
    }
    if (lcValue === 'false') {
      return false;
    }
  
    try {
      return JSON.parse(value);
    } catch (e) {
      //TODO: report warning
      if (skipError === true) {
        return undefined;
      }
  
      throw new SwaggerConverterError('incorect property value: ' + e.message);
    }
  }
docs: /*
  Convert string values into the proper type.
  @param value {*} - value to convert
  @param skipError {boolean} - skip error during conversion
  @returns {*} - transformed model object
  @throws {SwaggerConverterError}