Skip to content

all: move to JSON deser based on encoding/json/v2#2330

Open
hdonnay wants to merge 7 commits intoquay:mainfrom
hdonnay:hack/apitypes/jsonv2
Open

all: move to JSON deser based on encoding/json/v2#2330
hdonnay wants to merge 7 commits intoquay:mainfrom
hdonnay:hack/apitypes/jsonv2

Conversation

@hdonnay
Copy link
Copy Markdown
Member

@hdonnay hdonnay commented Nov 14, 2025

This backs the internal/codec package by a version of the encoding/json/v2 package, changing the API as appropriate.

This change enables us to control how types are marshaled without requiring that information to live as a method on the type. In the medium to long term, this allows us to change types while keeping the JSON representations consistent.

@hdonnay hdonnay force-pushed the hack/apitypes/jsonv2 branch from bb001a1 to 6333bde Compare April 17, 2026 20:20
hdonnay added 7 commits April 22, 2026 14:02
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
Change-Id: I8e7b627344a17e8de0be0090c8ae7dd46a6a6964
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
Change-Id: I2c40d7f30b2238679d75169410e22f416a6a6964
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
Change-Id: I7edeed858d9ad91e0da068b9cfa091bc6a6a6964
Change-Id: Ifc0e514ba12721fbafc42275b7cf07276a6a6964
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
Change-Id: Ifc0e514ba12721fbafc42275b7cf07276a6a6964
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
Change-Id: Ifc0e514ba12721fbafc42275b7cf07276a6a6964
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
Change-Id: Ie2b1bb1e5b5660bda84f3c6150f869386a6a6964
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
@hdonnay hdonnay force-pushed the hack/apitypes/jsonv2 branch from 6333bde to b548785 Compare April 22, 2026 19:02
@hdonnay hdonnay marked this pull request as ready for review April 22, 2026 19:06
@hdonnay hdonnay requested a review from a team as a code owner April 22, 2026 19:06
@hdonnay hdonnay requested review from crozzy and removed request for a team April 22, 2026 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant