Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support parsing json, which is escaped as a string in json value #46

Open
rualark opened this issue Jun 2, 2020 · 1 comment
Open

Comments

@rualark
Copy link

rualark commented Jun 2, 2020

Example:

{
  "a": "{\"c\": \"some data\", \"d\": 3}",
  "b": 2
}

This can be recursive (unescape json string and get json, which can also contain a string, which needs to be unescaped. Probably, it will be convenient to add button to such string which can be unescaped.

@lahmatiy
Copy link
Member

I think we may add presentation for a string value as json like we do with as text.
image
However, it has open questions: how cheap to check that the string is a JSON value, is it possible to apply nested struct view for it etc

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

No branches or pull requests

2 participants