Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

From<serde_json::Value> and From<serde_yaml::Value> #196

Merged
merged 1 commit into from
Apr 6, 2024

Conversation

anakrish
Copy link
Collaborator

@anakrish anakrish commented Apr 6, 2024

Provide wrappers around serde_json::from_value and serde_yaml::from_value since they may not be apparent and the user may end up serializing to json/yaml and rereading as a regorus::Value

Closes #195

Provide wrappers around serde_json::from_value and serde_yaml::from_value since
they may not be apparent and the user may end up serializing to json/yaml and
rereading as a regorus::Value

Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com>
@anakrish anakrish merged commit e326f3c into microsoft:main Apr 6, 2024
4 checks passed
@anakrish anakrish deleted the json_yaml_value branch April 6, 2024 11:11
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.

Function to convert serde_json::Value or serde_yaml::Value into regorus::Value
1 participant