code: function getJsonValueFromSassValue ( value, opts ) {
  	let rgbValue = [];
  	let resolvedValue, alphaValue;
  	if ( value instanceof types.List ) {
  		resolvedValue = listToArray(value, opts);
  	} else if ( value instanceof types.Map ) {
  		resolvedValue = mapToObject(value, opts);
  	} else if ( value instanceof types.Color ) {
  		rgbValue = [value.getR(), value.getG(), value.getB()];
  		alphaValue = value.getA();
  		if ( alphaValue === 1 ) {
  			resolvedValue = shortHexColor(`#${rgbHex.apply(null, rgbValue)}`);
  		} else {
  			resolvedValue = `rgba(${rgbValue.join(',')},${alphaValue})`;
  		}
  	} else if ( value instanceof types.Number ) {
  		if ( value.getUnit() !== '' ) {
  			resolvedValue = String(round(Number(value.getValue()), opts.precision) + value.getUnit());
  		} else {
  			resolvedValue = round(Number(value.getValue()), opts.precision);
  		}
  	} else {
  		try {
  			resolvedValue = value.getValue();
  		} catch ( e ) {
  			resolvedValue = null;
  		}
  	}
  	return resolvedValue;
  }
docs: @param  {sass.types.*} value
  @param  {Object} opts
  
  @return {Mixed}