pretty-print-json
pretty-print-json copied to clipboard
🦋 Pretty-print JSON data into HTML to indent and colorize (with TypeScript declarations)
I'm using ```pretty-print-json``` to print JSON data acquired from web server, but the order of keys displayed by ```pretty-print-json``` is not preserved - it prints keys in alphabetical descending order....
I have tried implementing this library correctly but the output I am seeing is not showing my array formatted the way I would like/expect. I have also tried pasting my...
I've noticed lately that node.js and mongosh are pretty good at not wasting lines when objects have few properties in them. Would be really nice if pretty-print-json could present the...
Configure the project to enforce the JSHint rule that prohibits non-breaking whitespace characters. See `"jshintConfig"` in **package.json**: https://github.com/center-key/pretty-print-json/blob/master/package.json#L21 JSHint documentation: https://jshint.com/docs/options/#nonbsp
For example: https://codebeautify.org/jsonviewer?url=https://httpbin.org/get Should work for any CORS enabled web server
I installed **pretty-print-json** package using NPM and added the this typescript and html code in my angular component: ```typescript const elem = document.getElementById("account"); if (!elem) { return; } const data...