Skip to content

json formatter support backslash unescape - #5

Open
sunfuze wants to merge 1 commit into
luin:mainfrom
sunfuze:json-support-backslash-unescape
Open

json formatter support backslash unescape#5
sunfuze wants to merge 1 commit into
luin:mainfrom
sunfuze:json-support-backslash-unescape

Conversation

@sunfuze

@sunfuze sunfuze commented Jul 8, 2022

Copy link
Copy Markdown

support backslash unescape

@vercel

vercel Bot commented Jul 8, 2022

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
bazinga ✅ Ready (Inspect) Visit Preview Jul 8, 2022 at 5:56AM (UTC)

@luin

luin commented Jul 9, 2022

Copy link
Copy Markdown
Owner

Hey @sunfuze 👋 ,

Thanks for the pull request! I'm wondering what's the main purpose/use case of this change?

@sunfuze

sunfuze commented Jul 10, 2022

Copy link
Copy Markdown
Author

We use Archery as database manager, it append backslash when field is json.

Example:
image

So it is usable in this case to remove backslash when format json content.

@sunfuze sunfuze closed this Jul 10, 2022
@sunfuze sunfuze reopened this Jul 10, 2022
@sunfuze

sunfuze commented Jul 10, 2022

Copy link
Copy Markdown
Author

Another case is: our log system use json as output format, if some log field is json string, the output of that field will be appended backslash before '"'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants