Skip to content

feat: add (optional) serde_json conversion support#45

Merged
sheepduke merged 1 commit intoopen-feature:mainfrom
sheepduke:main
Dec 19, 2023
Merged

feat: add (optional) serde_json conversion support#45
sheepduke merged 1 commit intoopen-feature:mainfrom
sheepduke:main

Conversation

@sheepduke
Copy link
Copy Markdown
Contributor

This PR

  • Add an optional feature serde_json that mainly contains impl TryFrom<serde_json::Value> for Value.

Related Issues

Close #18

Notes

Follow-up Tasks

How to test

Signed-off-by: YUE Daian <sheepduke@gmail.com>
Copy link
Copy Markdown
Member

@beeme1mr beeme1mr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. As a follow up, could you add a short example to the readme? Perhaps in the Develop a provider section.

Comment thread src/serde_json.rs
@sheepduke sheepduke merged commit 6dde097 into open-feature:main Dec 19, 2023
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.

[SDK] Support conversion between Value and serde_json::Value as an individual feature

3 participants