// JSON.stringify a value
// @param $value: value to be stringified
// @return [string |  false]
@function json-encode($value) {
  $types: list, map, number, string, bool, color;
  @if index($types, type-of($value)) {
    @return call('_json-encode--#{type-of($value)}', $value);
  }
  @warn "Unknown type for #{$value}.";
  @return false;
}

// JSON.stringify a value
// @param $value: value to be stringified
// @return [string |  false]
@function json-encode($value) {
  $types: list, map, number, string, bool, color;
  $value-type: type-of($value);
  @if $value-type != null or index($types, $value-type) {
    @return call('_json-encode--#{$value-type}', $value);
  }
  @warn "Unknown type for #{$value}.";
  @return false;
}

Revert changes that where overridden...
Revert changes that where overridden...
