Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dlt-qnx-system uses weird json syntax #719

Open
averater opened this issue Dec 10, 2024 · 0 comments
Open

dlt-qnx-system uses weird json syntax #719

averater opened this issue Dec 10, 2024 · 0 comments

Comments

@averater
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant