-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JSON serialization support to resource files.
This required some changes to the resource file model: - Add ModelObject base class to ResourceFile, UserKeyword, Import and Variable model objects. This adds generic JSON serialization methods and brings some nice features like better repr() as a bonus. - Change import types from 'Library', 'Resource' and 'Variables' to 'LIBRARY', 'RESOURCE' and 'VARIABLES', respectively. We've used upper case types also elsewhere. Also add matching class attributes to allow using constants instead of stringly typing. - Fix code expecting old style type names and clean up related code in general. Part of #3902.
- Loading branch information
1 parent
6316243
commit d81386e
Showing
8 changed files
with
275 additions
and
84 deletions.
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
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
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
Oops, something went wrong.