COVESA / COVESA/dlt-daemon

dlt-qnx-system uses weird json syntax

Open
#719 2 comments 1 reaction 1 assignee Claimed by @minminlittleshrimp View on GitHub
enhancement refactor upgrade
Dominant language
C
Stars
459
Forks
340
Avg merge
4d 21h
Merged PRs (30d)
2

Description

It is no problem to have multiple processes map to the same context with a json like this:
{
"CTXT": {"name": "process_a", "description": ""},
"CTXT": {"name": "process_b", "description": ""},
}

However this is not recommended json syntax as it means the map has duplicate keys. Recommended would be to have process names as key and context inside each element like this:
{
"process_a": {"context": "CTXT", "description": ""},
"process_b": {"context": "CTXT", "description": ""},
}

This would make for parsing or generation of the json easier using other tools that require unique keys.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.