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

Add JSON editor to relevant textareas #9

Open
vearutop opened this issue Mar 3, 2020 · 3 comments
Open

Add JSON editor to relevant textareas #9

vearutop opened this issue Mar 3, 2020 · 3 comments

Comments

@vearutop
Copy link
Member

vearutop commented Mar 3, 2020

https://github.com/josdejong/jsoneditor

@vearutop
Copy link
Member Author

vearutop commented Mar 4, 2020

@joeblew99
Copy link

joeblew99 commented Nov 6, 2021

hey @vearutop

very cool project !

How about one written in golang compiled to wasm ?
Will get to reuse all the existing golang code relating to jsonschema,etc.
It will be able to parse the jsonschema easily and display the required editor.

tinygo compilation will make the wasm small.

there is a great golang gui written in go that has the same things in the 2 JS based frameworks above.

  • trees widget
  • editors
  • lots more...

Try running this: https://github.com/gioui/gio-example/tree/main/component as it shows off how capable the gioui base is.

If you interested i can help.

@vearutop
Copy link
Member Author

vearutop commented Nov 6, 2021

Hi, thanks!

I think gio might be not a good fit for this issue, the idea of this issue is to hijack already existing frontend application (Swagger UI) and alter some of its visual components (replace JSON textareas with dynamic forms).

Related (and more relevant) issue: swagger-api/swagger-ui#2771.

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