-
Notifications
You must be signed in to change notification settings - Fork 97
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
Generate JSON schema definitions for web clients #735
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few very minor things, but very cool. We are now web 2.0 compatible.
Can you add your note on the PR about the schema and how to use it to the javascript readme here: https://github.com/swift-nav/libsbp/blob/master/javascript/README.md too ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sweet!
Slightly better naming scheme for the generated modules
merging, failure was an (errant) performance regression in python |
To aide in building various web clients, generate JSON schema definitions to parse the output of sbp2json. This allows web clients (like the drive demo UI) to dispatch on the
msg_type
field in a JSON dictionary and build a fully native object using the JSON fields that are present.For example, in JavaScript, something like this would be possible: