#103·quickwit

Mapping configuration from example (food for thought)

Author: fulmicotonCreated Jun 9, 2021Updated Aug 31, 2026
Labelsenhancementlow-prioritybacklog

This is more of a vague idea than a really fleshed idea.

I am a huge fan of this extension: https://marketplace.visualstudio.com/items?itemName=quicktype.quicktype

The idea is at follows... When creating a model in your favorite language, you paste an example json object and the extension creates the struct (or Class) automatically, with a lot of boilerplate. You can then tweak it to your preference.

It is a massive timesaver and avoids a lot of typo related friction.

We could use the same idea in the CLI for instance, by allowing the user to copy paste a schema... or even sniff it from the clipboard... We could also offer a webapp that helps creating the quickwit.json file with a good looking mapping straight from json.