toolkit-json

1.0.4 • Public • Published

toolkit-json

toolkit for json Coverage Badge CodeQL

JsonCircularStringify

function qui permet de stringify tout type d'objet ou de fichier json

to use it, just import it and pass it as a parameter of the object or the file to stringify

 const stringify = JsonCircularStringify(
     'string',
     {
         obj: 'object',
         arr: [
             { val: 123, str: "Json" }
            ]
    })
console.log(stringify) 
// output ["string",{"obj":"object","arr":[{"val":123,"str":"Json"}]}]


Package Sidebar

Install

npm i toolkit-json

Weekly Downloads

5

Version

1.0.4

License

ISC

Unpacked Size

5.28 kB

Total Files

5

Last publish

Collaborators

  • dafonseca_leonardo