|
| template<class Jsonish , class Key , class Validator > |
| bool | Kazv::cast (Jsonish &ret, const Jsonish &input, Key &&k, Validator &&f) |
| | Run validator against input[k] and add it to ret. More...
|
| |
| template<class Func > |
| auto | Kazv::identValidate (Func &&f) |
| | Make an identity validator. More...
|
| |
| template<class Jsonish , class Key , class Validator > |
| bool | Kazv::castArray (Jsonish &ret, const Jsonish &input, Key &&k, Validator &&f, CastArrayStrategy strategy) |
| | Cast an array of items. More...
|
| |
| template<class Jsonish , class Key , class Validator > |
| bool | Kazv::castObject (Jsonish &ret, const Jsonish &input, Key &&k, Validator &&f, CastObjectStrategy strategy) |
| | Cast an object of items. More...
|
| |
| template<class Jsonish , class Key , class Jsonish2 > |
| std::decay_t< Jsonish > | Kazv::makeDefaultValue (Jsonish &&input, Key &&k, Jsonish2 &&defaultValue) |
| | Replace a non-existent value with a default one. More...
|
| |