Interactive explorer for the seven prebuilt directives in @json-render/directives. Pick a directive, tweak inputs, see the rendered output and copy the JSON spec fragment.
| Name | Purpose |
|---|---|
$format | Intl date / currency / number / percent (plus relative dates) |
$math | add, subtract, multiply, divide, mod, min, max, round, floor, ceil, abs |
$concat | Join an array of dynamic values into a string |
$count | Length of array or string (0 otherwise) |
$truncate | Truncate to length with optional suffix |
$pluralize | Singular / plural / zero selection with count prefix |
$join | Join array with separator (default ", ") |
Plus createI18nDirective(config) for $t translation, and standardDirectives for one-line registration.