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

allowing initial decoding of ohma when it's split over multiple acars… #134

Merged

Conversation

makrsmark
Copy link
Collaborator

… messages

ideally we'd marry the partial with the next partial ohma message, but this is as good as we can do for now

… messages

ideally we'd marry the partial with the next partial ohma message, but this is as good as we can do for now
Comment on lines +34 to +38
try {
jsonMessage = JSON.parse(jsonText).message;
} catch {
jsonMessage = jsonText;
}
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yuck - open to better ideas

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, not amazing, but I can't think of a better way to approach at the moment.

Copy link
Contributor

@kevinelliott kevinelliott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@makrsmark makrsmark merged commit 0d494c1 into airframesio:master Sep 27, 2024
3 checks passed
@makrsmark makrsmark deleted the feature/label-h1-ohma-partial branch September 27, 2024 21:02
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

Successfully merging this pull request may close these issues.

2 participants