DEV Community

Igor
Igor

Posted on

Powershell css and json how to convert

Помогите преобразовать style.css в формат style.json и обратно с использованием Powershell?

Help convert style.css to style.json format and back using Powershell?

Top comments (3)

Collapse
 
gouthique profile image
SAI GOUTHAM

If your query is about JSON error then Sometimes JSON Error occurs due to the difference of the package versions. For example u might have used a package with say X version, later you have updated to its newest version say X.1 but when u try to open your old code it shows up this JSON file Decode error.
Check the library for which this error has pop up then type that library/package name along with JSON Decode error in Stackoverflow you will get the answer!

Collapse
 
dimaostrov profile image
Dmitriy Ostrovskiy
Collapse
 
dimaostrov profile image
Dmitriy Ostrovskiy

I think this is a complicated question, you don't really need to use powershell, bit can do all of your conversion in the language of your choice, bad then just call the command to do it using your preferred shell.