nasa / ogma

Generator of runtime monitors for flight and robotics applications.
Other
335 stars 25 forks source link

`ogma-core`: Generalize JSON parsing #115

Closed ivanperez-keera closed 9 months ago

ivanperez-keera commented 9 months ago

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

Additional context

None.

Requester

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.

Desired result

The parsing functions support any JSON file and can be easily customized to support specific JSON-based formats.

Proposed solution

Use selectors, similar to XPath, to customize how fields are selected in JSON files.

Further notes

None.

ivanperez-keera commented 9 months ago

Change Manager: Confirmed that the issue exists.

ivanperez-keera commented 9 months ago

Technical Lead: Confirmed that the issue should be addressed.

ivanperez-keera commented 9 months ago

Technical Lead: Issue scheduled for fixing in Ogma 1.2.

Fix assigned to: @ivanperez-keera.

ivanperez-keera commented 9 months ago

Implementor: Solution implemented, review requested.

ivanperez-keera commented 9 months ago

Change Manager: Verified that:

ivanperez-keera commented 9 months ago

Change Manager: Implementation ready to be merged.