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

Consider core version when Message parse/generate JSON #93

Open
emiltin opened this issue Sep 23, 2024 · 0 comments
Open

Consider core version when Message parse/generate JSON #93

emiltin opened this issue Sep 23, 2024 · 0 comments

Comments

@emiltin
Copy link
Collaborator

emiltin commented Sep 23, 2024

Some messages differ in format according to core version.

Keep the internal attibute format the same regardless of core version, but handle the parse from json, and the export to json, differently, depending on the core version.

The core version is available in the site/supervisor proxy when you receive or send a message, which i typically when you deal with json.

In cases you want to work with json in other situations, e.g for testing, the core version can be supplies manually.

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