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

JSON viewer #266

Open
hmeerlo opened this issue Sep 7, 2022 · 5 comments
Open

JSON viewer #266

hmeerlo opened this issue Sep 7, 2022 · 5 comments

Comments

@hmeerlo
Copy link

hmeerlo commented Sep 7, 2022

It would be really nice to have an inline JSON viewer in Medis so that we can collapse parts of the documents. We have very large JSON objects in Redis and currently I have to copy and paste the values to a JSON viewer to be able to look through the data efficiently.

@luin
Copy link
Owner

luin commented Sep 7, 2022

Hey @hmeerlo 👋

Thanks for using Medis! The request makes sense. What JSON viewer are you using if I may ask?

@hmeerlo
Copy link
Author

hmeerlo commented Sep 7, 2022

currently I'm using a website jsonformatter.org. But any inline editor that can collapse branches would be good for me. And while we're at it, a JSON path inputfield at the bottom that can filter the data would be really awesome :-)

@luin
Copy link
Owner

luin commented Sep 7, 2022

Aha a JSON path filter is a bit easier to implement so I'd probably go with it first. To be sure, you are storing JSON data in a string key right?

@hmeerlo
Copy link
Author

hmeerlo commented Sep 7, 2022

Ok, I would expect the viewer to be easier since you're using React. This appears to be a one-liner: https://www.npmjs.com/package/react-json-view

@luin
Copy link
Owner

luin commented Sep 7, 2022

@hmeerlo New features are going to be added to Medis 2 (https://getmedis.com/) which is developed in Swift but thanks for the reference!

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

No branches or pull requests

2 participants