Discovery: should the API encode with encoding/json/v2 through Huma? #2031

Open
opened 2026-11-16 08:42:04 +00:00 by sam · 0 comments
Owner

The API moved onto Huma (#2028) with Huma's default JSON handling, while the rest of the binary uses encoding/json/v2. Nobody has looked at what that difference changes on the wire.

Find out what differs and whether it matters: for example, how empty lists, unknown request fields and field-name case are treated, and whether Huma's JSON format can be swapped for v2.

Done when: this issue records the differences found and a recommendation, either to switch or to leave it.

The API moved onto Huma (#2028) with Huma's default JSON handling, while the rest of the binary uses `encoding/json/v2`. Nobody has looked at what that difference changes on the wire. Find out what differs and whether it matters: for example, how empty lists, unknown request fields and field-name case are treated, and whether Huma's JSON format can be swapped for v2. Done when: this issue records the differences found and a recommendation, either to switch or to leave it.
sam added the discoverylow labels 2026-11-16 08:42:04 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#2031