it-tools icon indicating copy to clipboard operation
it-tools copied to clipboard

希望能有添加一个json字符串压缩和转义的功能

Open Jamie-0527 opened this issue 1 year ago • 4 comments
trafficstars

What type of request is this?

New tool idea

Clear and concise description of the feature you are proposing

首先,我非常喜欢这个工具,它整合了需要开发使用到的工具!我在进行开发经常会遇到已经进行json格式化后的字符串,他可能已经被多次多级的使用的JSON.stringify,然后需要一次或多次转义后才能正常查看,例如下面的例子:

[{key1: \"value1\", key2: {\\\"key3\\\":\\\"value3\\\"}}]

我希望能有个新功能来支持这样解析,同时字符串里面也会存在一些unicode的转换,这个功能也可以考虑

Is their example of this tool in the wild?

下面这个网站是专门针对json的工具网站,和it-tools相比各有优势,希望能参考借鉴一些功能 https://www.json.cn/jsonzip/

Additional context

No response

Validations

  • [X] Check the feature is not already implemented in the project.
  • [X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
  • [X] Check that the feature can be implemented in a client side only app (IT-Tools is client side only, no server).

Jamie-0527 avatar May 16 '24 07:05 Jamie-0527

你能否加一个json转csv下载

libaxuan avatar May 28 '24 02:05 libaxuan

Hi @Jamie-0527, probably implemented in https://github.com/CorentinTh/it-tools/pull/966

sharevb avatar Jun 09 '24 11:06 sharevb

and https://it-tools.tech/json-minify

sharevb avatar Jun 09 '24 11:06 sharevb

Hi @libaxuan, fixed in #1169

sharevb avatar Aug 04 '24 12:08 sharevb