Convert object to Yaml
$.getScript('https://unpkg.com/js-yaml@4.1.0/dist/js-yaml.min.js');
copy(jsyaml.dump(myObject));
Convert object to JSON
copy(JSON.stringify(myObject));
For further actions, you may consider blocking this person and/or reporting abuse
Participate in the Developer Ecosystem Survey 2025 and get the chance to win a MacBook Pro, an iPhone 16, or other exciting prizes. Contribute to our research on the development landscape.
Top comments (0)