Multi-Render
This guide covers rendering the same method chain in different formats by swapping handlers.
One Buffer, Multiple Outputs
sb = StringBuilder.new.get.users.page(1).limit(25)
| Handler | Output |
|---|---|
| Default | get users page(1) limit(25) |
| URL | /get/users?page=1&limit=25 |
| JSONPath | $.get.users.page[1].limit[25] |
The chain is data. The handler is interpretation. Swap the handler, get a different string format from the same method chain.
See the multi-render example for the complete working code.