一个 JSON 格式化器,生成易读但相对紧凑的输出。
FracturedJson is a family of utilities that format JSON data in a way that's easy for humans to read, but fairly compact. Arrays and objects are written on single lines, as long as they're neither too long nor too complex. When several such lines are similar in structure, they're written with fields aligned like a table. Long arrays are written with multiple items per line across multiple lines.
This npm module is part of a family of FracturedJson tools.
Here's a sample of output using nearly default settings. (MaxTotalLineLength=100)
…If enabled in the settings, it can also handle JSON-with-comments (which isn't real JSON).
…npm i fracturedjsonjs…Project Wiki — Formatting Options — Web Formatter — Implementations & Ports
暂无开放 Issues,或尚未同步最近议题。