Show HN: Patchouli JSON, an ergonomic DSL for Swift JSON Patch (github.com)

1 points by occular ↗ HN
I made this after working on various Swift projects that used JSON Patch and wishing for a way to conveniently patch JSON in code.

Could be useful if your Swift project wants to deliver canned customised JSON payloads, or to shape/modify JSON passing by.

Uses https://github.com/raymccrae/swift-jsonpatch for the actual JSON patching.

Has a tiny generic patching engine at its core, which you could use to write patchers for anything (they get to use the DSL too).

0 comments

[ 4.2 ms ] story [ 13.3 ms ] thread

No comments yet.