Is there a guide for writing json dashboards

Have seen people talking about grafonnet, is that the preferred way of writing provisioned dashboards in JSON. Is there a guide around this topic. The idea is to keep dashboards as code, and implement version control, I think this way we could even disable persistence for the Pods ?