Skip to content

Add vajson to score baselibs#139

Open
JuriSchroeder wants to merge 28 commits intoeclipse-score:mainfrom
JuriSchroeder:vajson-integration
Open

Add vajson to score baselibs#139
JuriSchroeder wants to merge 28 commits intoeclipse-score:mainfrom
JuriSchroeder:vajson-integration

Conversation

@JuriSchroeder
Copy link
Copy Markdown
Contributor

@JuriSchroeder JuriSchroeder commented Apr 8, 2026

This pull request adds the vector VaJson Parser to the score baselibs. Treats #149

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 8, 2026

The created documentation from the pull request is available at: docu-html

@JuriSchroeder JuriSchroeder marked this pull request as draft April 8, 2026 14:48
@FScholPer
Copy link
Copy Markdown
Contributor

I think we should avoid using amsr and replace it with score namespace

@JuriSchroeder
Copy link
Copy Markdown
Contributor Author

@mihajlo-k @fbaeuerle This PR is ready for review. The failing copyright check is pointing to a file that is not changed as part of this PR. Let me know if something needs changing.

Comment thread .bazelrc Outdated
build --credential_helper="*.qnx.com=%workspace%/.github/tools/qnx_credential_helper.py"

build:_bl_stub --//score/json:base_library=nlohmann
build:_bl_stub --//score/json:base_library=vajson
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Does this change need project alignment?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I guess so. I can also just revert it for now.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@fbaeuerle I switched back to using nlohmann as default.

[&result](StringView view) noexcept {
static_cast<void>(std::memcpy(&result, view.data(), sizeof(result)));

result = be32toh(result);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

out of curiosity: why can't we use be32toh?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

IIRC it caused build failures on QNX because the macro is not defined there.

@fbaeuerle
Copy link
Copy Markdown
Contributor

@mihajlo-k @fbaeuerle This PR is ready for review. The failing copyright check is pointing to a file that is not changed as part of this PR. Let me know if something needs changing.

The problem is anyway already fixed on master. I cannot rerun it (neither can I approve the qnx workflows).
I'd like to verify the build running on qnx before merging this

@JuriSchroeder JuriSchroeder requested a review from antonkri as a code owner May 6, 2026 06:14
@JuriSchroeder JuriSchroeder temporarily deployed to workflow-approval May 6, 2026 06:14 — with GitHub Actions Inactive
@JuriSchroeder JuriSchroeder temporarily deployed to workflow-approval May 6, 2026 06:14 — with GitHub Actions Inactive
@JuriSchroeder JuriSchroeder temporarily deployed to workflow-approval May 7, 2026 12:29 — with GitHub Actions Inactive
@JuriSchroeder JuriSchroeder temporarily deployed to workflow-approval May 7, 2026 12:29 — with GitHub Actions Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

3 participants