A helper for JSON.stringify
to install
npm install vue-stringify
to use
import Stringify from 'vue-stringify'
an then you can...
Stringify({ hello: 'World' })
and get
{
"hello": "world"
}
Stringify.parse(Obj)
will JSON.stringify and JSON.parse an Object, it is then cloned, and has no setters / getters so is more easily explored in console.
Stringify.log(Obj)
will log to console a JSON.stringified and JSON.parsed Object.
Enjoy.