Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement a method for parsing DynamicObjects
Issue: #1029 To avoid manually parsing DynamicObjects into resources, this commit implements DynamicOjbect::try_parse. The try_parse method will attempt to parse the DynamicObject into a type implementing the Resource trait, using serde. Signed-off-by: Jessie Chatham Spencer <jessie@teainspace.com>
- Loading branch information
Showing
1 changed file
with
42 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters