json-sass
json-sass copied to clipboard
Empty JSON value
I am not sure if this project is still being maintained?
Would you consider seeking a maintainer?
Anyway back to the problem at hand sending through an empty value the SCSS map is returning a none quoted SCSS map value. Which then breaks SCSS the compiler.
For example I am sending through:
{ "some-key" : { "value" : "" } }
The SCSS Map is being output as:
( some-key : ( value: ) )
Ideally this would be output as:
( some-key : ( value: "" ) )
@coxrichuk - you probably could (have) solve(d) your issue using:
{ "some-key" : { "value": "\"\"" } }
or
{ "some-key" : { "value": "''" } }