WIP: Tiny note

This commit is contained in:
2026-08-23 11:03:00 +09:00
parent ddc811b63d
commit ea7a013abe
@@ -316,7 +316,7 @@ public final class ZJ {
// This is a nitpick but it turns out that Character.isDigit() accepts a bunch of possible
// unicode digits as well as ASCII '0' through '9'. That's normally good, but not for
// parsing JSON!
// parsing JSON! (Shoutout to P.H. -- "only ever permit ASCII" wins this one time.)
private static boolean isDigit(char c) {
return c >= '0' && c <= '9';
}