Skip to content

chore: switch JSON to encoding/json/v2 - #66

Open
acoshift wants to merge 1 commit into
masterfrom
chore/encoding-json-v2
Open

chore: switch JSON to encoding/json/v2#66
acoshift wants to merge 1 commit into
masterfrom
chore/encoding-json-v2

Conversation

@acoshift

Copy link
Copy Markdown
Member

CLI JSON uses encoding/json/v2. -ojson stays indented with a trailing newline (jsontext.WithIndent + Fprintln). Credential store files use the same indent. Login/logout and update checks use MarshalWrite / UnmarshalRead.

Pins github.com/deploys-app/api to api#138 (omitzero + v2 marshalers). Merge that first.


Requested via Grok Work
Prompter: ACS

CLI -ojson output, credential store, login/logout, and GitHub update
checks use encoding/json/v2. Indented output uses jsontext.WithIndent
plus a trailing newline to match the old Encoder.

Pins github.com/deploys-app/api to the json/v2 + omitzero contract.

---
Requested via Grok Work
Prompter: ACS

Prompter: ACS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant