Skip to content

feat: add JsonUtility.CloneDefaultOptions for product SDKs#7

Merged
nmorgan-cb merged 1 commit into
mainfrom
nm/clone-default-options
Jun 18, 2026
Merged

feat: add JsonUtility.CloneDefaultOptions for product SDKs#7
nmorgan-cb merged 1 commit into
mainfrom
nm/clone-default-options

Conversation

@nmorgan-cb

Copy link
Copy Markdown
Contributor

Description

Adds JsonUtility.CloneDefaultOptions() — a mutable copy of the shared default JsonSerializerOptions (converters, resolver, and serializer settings included). Product SDKs can adjust the clone (e.g. JsonNamingPolicy.SnakeCaseLower) before constructing a dedicated JsonUtility for HTTP serialization, without mutating the Core singleton.

Bumps package version to 0.2.1. Required by Prime SDK 0.6.0 (CoinbaseSdk.Prime pins CoinbaseSdk.Core >= 0.2.1).

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Dependency update
  • Refactor / cleanup
  • Other (describe below)

Checklist

  • Tests included / updated
  • Changelog updated
  • Version bump if needed

Testing

  • dotnet test — 74 passed

Expose a mutable copy of shared default JsonSerializerOptions so product
SDKs can apply wire-format policies (e.g. snake_case) without mutating the
Core singleton. Bump to 0.2.1 for Prime SDK dependency.

Co-authored-by: Cursor <cursoragent@cursor.com>
@nmorgan-cb nmorgan-cb requested review from a team as code owners June 18, 2026 22:18
@cb-heimdall

cb-heimdall commented Jun 18, 2026

Copy link
Copy Markdown

✅ Heimdall Review Status

Requirement Status More Info
Reviews 1/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

@cb-heimdall

Copy link
Copy Markdown

Review Error for rcbgr @ 2026-06-18 22:32:11 UTC
User failed mfa authentication, either user does not exist or public email is not set on your github profile. \ see go/mfa-help

@nmorgan-cb nmorgan-cb merged commit 0515ffc into main Jun 18, 2026
10 checks passed
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.

3 participants