Skip to content

Construct JSON defaults and schema values directly - #58

Open
sekaiser wants to merge 1 commit into
oxidecomputer:mainfrom
sekaiser:issue-46-structural-json-values
Open

sekaiser wants to merge 1 commit into
oxidecomputer:mainfrom
sekaiser:issue-46-structural-json-values

Conversation

@sekaiser

Copy link
Copy Markdown
Contributor

Fixes #46.

Construct JSON defaults and allow/deny-list schema values directly using the existing value_tokens() helper, avoiding unnecessary runtime JSON parsing.

Native-type defaults remain unchanged. Updated snapshots and added regression coverage.

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.

default values and allow/deny lists could avoid serde_json::from_str

1 participant