Commit Graph

1 Commits

Author SHA1 Message Date
Florian Albrechtskirchinger
f898c19aca
Add apply*() functions (visitor pattern)
Add 3 variants of apply*() functions that invoke a given callable with
the supplied arguments and the stored JSON value.

* void apply(Fn, Args...):
  ...

* void apply_cb(ResultCallback, Fn, Args...):
  ...

* R apply_r(Fn, Args...):
  ...
2022-05-03 21:35:51 +02:00