threeaccents
JSON to Elixir code generator (online tool)
Whenever I’m writing an API I always like to create an embedded schema at the “web” level to validate and add types to my request/responses. Manually creating an embedded schema for a large JSON payload is pretty annoying. So I hacked together this little LiveView App to automate that process for us.
Here is a screenshot of the app:
There’s still some other little things I want to add and edge cases that need to be taken care of. But I think its ready enough to be played with.
Let me know what you think!
Most Liked
kwando
yangm97
yangm97
What I mean by that is I have a json payload that causes the app to reload itself, not a permanent denial of service.
Last Post!
yangm97
Sure! You can see that happening on my previous JSON. Some entities are being defined multiple times with varying properties, instead of being merged as a single entity composed of all properties inferred by each instance.
Popular in Discussions
Other popular topics
Latest Phoenix Threads
Chat & Discussions>Discussions
Latest on Elixir Forum
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #elixirconf-us
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #metaprogramming
- #security
- #hex










