logoalt Hacker News

PhilipRoman12/09/20241 replyview on HN

>and also lose the ability to roundtrip, so your app can't edit user configs

I think roundtrip with comments is not feasible in general. Most code just expects a hashmap, which it edits and then serializes back. You would need some really clever handling for comments to do it.


Replies

eviks12/09/2024

We're in luck: clever people exist and have written libraries that do the clever handling for us and support roundtripping comments!

show 1 reply