cfs-tools / cfs-basecamp

Provides a framework and tools for developing, downloading, and integrating core Flight System (cFS) applications into an operational system.
Other
28 stars 4 forks source link

Add support for JSON Boolean types #11

Closed dmccomas closed 1 year ago

dmccomas commented 1 year ago

Basecamp's heritage software used a different JSON parser that did not properly process Booleans so strings were used instead. FreeRTOS's Core JSON which is used by Basecamp does support Booleans so they should be added to osk_c_fw's API.

Issue #10 motivated this change. KIT_SCH (uses Boolean strings) could also be updated.

dmccomas commented 1 year ago

core-json allows true/false to be used (no quotes) in JSON files as expected. However from a parsing perspective the 'true'/'false' strings are returned by the parser so the JSONTrue/JSONFalse types are processed just like strings.