I know that this thread is ancient ... but ... is there still a way to preconfigure WiFi?
The mentioned file "os_config.json" is no longer present on the boot partition.
Reason ... am at a location with a Raspberry Pi ... WiFi ... Projector without HDMI CEC ... no ethernet near unmovable projector ... no keyboard