Consider adding asUInt()
and asBool()
to the Ledger documentation.
if (config.has("accessoryEnabled"))
accessoryEnabled = config["accessoryEnabled"].asBool();
if (config.has("accessoryTime"))
accessoryTime = config["accessoryTime"].asUInt();