circlecell / jsonlint.com

[OLD] Please go to new source, link below.

Home Page:https://github.com/circlecell/jsonlint

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

URLdecode and validate

omidaminiva opened this issue · comments

It would be a nice feature to add URL Decode (or other popular decoding like base64) and validate after as separate function

Can you articulate the use case a bit more @omidaminiva? I understand what you're saying, but am curious to also understand what it is you're workflow is for this now.

when working with a server that encodes all of its JSON responses, I have to use a decoder to decode the response then I can validate it.

@circlecell what do you think?

@finom yeah, this seems reasonable... perhaps as a toggled setting that saves the preference for the user via cookie/localstorage/etc.

I had some thoughts and the feature can complicate UX. Closing.