jsonicjs / jsonic

JSON parser that isn't strict
MIT License
199 stars 23 forks source link

quotes in stringify #16

Closed pinkladywithcoco closed 6 years ago

pinkladywithcoco commented 6 years ago

I'm having a problem with the stringify function.

doing such:

console.log( jsonic.stringify( {a:"bc",d:1} )

results in following output: {a:bc,d:1}

but i want it to output: {a:'bc',d:1} instead of {a:bc,d:1}. I need the quotes for my project. Can somebody please help me in how to fix it?