-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop-json-parser' into develop. Close #115.
**Description** The JSON parsing functions currently included with Ogma are very specific to two formats supported, and cannot be easily generalized. This limits our ability to adapt to changes and to different formats. **Type** - Management: code factorization. **Additional context** None. **Requester** - Ivan Perez **Method to check presence of bug** Not a bug. **Expected result** The parsing functions support any JSON file and can be easily customized to support specific JSON-based formats. **Solution implemented** Introduce two new libraries to hold an Ogma spec, and the JSON-based parser. Use selectors, similar to XPath, to customize how fields are selected in JSON files. Remove library no longer needed. Generalize Spec to Copilot converter to be based on a generic spec. **Further notes** None.
- Loading branch information
Showing
24 changed files
with
717 additions
and
686 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
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.