Overview
Number and JSON flags serve values instead of on/off. In this guide you addmax-retries (a number) and checkout-payload (a JSON object), push them, and read them in code.
Define them
Config in shipd.config.go, then run shipd push. See Define flags in code for the complete file.
Read a number
useNumber("max-retries"). See React bindings.
See getNumber.
Read JSON
useJson("checkout-payload").
Code against that shape and keep values served from the dashboard compatible with it. See getJson.