Commit Graph

2 Commits

Author SHA1 Message Date
Florian Albrechtskirchinger
04b4d79ec2
Add casting placeholder 2022-05-05 19:54:53 +02:00
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