vscode-json-to-js-object icon indicating copy to clipboard operation
vscode-json-to-js-object copied to clipboard

Adding the opposite functionality?

Open morajabi opened this issue 8 years ago • 2 comments

What's your opinion about adding the js-object-to-json feature too? (And maybe rename the package too, after that)

morajabi avatar Jul 04 '17 12:07 morajabi

Yes it's quite disappointing that it's one directional only :-(

ghost avatar Aug 13 '18 11:08 ghost

See https://marketplace.visualstudio.com/items?itemName=toreaurstad.copyasjsontoclipboard or https://marketplace.visualstudio.com/items?itemName=rintoj.json-organizer

Or simply use JSON.stringify() in any javascript console.

saerdnaer avatar May 30 '21 11:05 saerdnaer