by staticassertion · 4y ago · 0 comments
Woah, that's impressive.
I wonder if `str` is maybe an antipattern for a lot of JSON use cases where you can perform utf8 validation lazily or avoid it altogether for data you don't need.
Given a service architecture with mTLS, and so long as you aren't doing anything sensitive based on the data, I could see an approach like this being valuable.
That said, I also wonder if it's worth pushing JSON into use cases like this to begin with?