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

Json to escaped string

Open agluck91 opened this issue 1 year ago • 3 comments

What type of request is this?

New tool idea

Clear and concise description of the feature you are proposing

Take in a json value and output escaped string. like this: "{"hello":["world"]}"

It should have the option to minify, or be minified by default.

Is their example of this tool in the wild?

https://www.freeformatter.com/json-escape.html#before-output

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).

agluck91 avatar Aug 09 '24 22:08 agluck91

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

sharevb avatar Aug 10 '24 05:08 sharevb

Oops, my bad, looked everywhere but the PRs. Looks like it is not yet merged. I don't see it in the production site yet.

agluck91 avatar Aug 10 '24 18:08 agluck91

Hi @agluck91, only @CorentinTh Can merge

sharevb avatar Aug 16 '24 11:08 sharevb

@CorentinTh We need this tool. Can you please merge the PR #966?

surajwy avatar Oct 24 '24 06:10 surajwy

Hi @surajwy @agluck91 , implemented: https://sharevb-it-tools.vercel.app/json-escaper

And if you are interested in an up to date version of it-tools, with many improvements, new tools, and bug fixes, as this repo is almost no more maintained, I made a fork here : https://github.com/sharevb/it-tools (https://sharevb-it-tools.vercel.app/ and docker images https://github.com/sharevb/it-tools/pkgs/container/it-tools)

sharevb avatar Nov 01 '25 17:11 sharevb