Skip to content

Conversation

@larshp
Copy link
Member

@larshp larshp commented Oct 24, 2025

No description provided.

@larshp larshp marked this pull request as ready for review October 24, 2025 09:16
@larshp larshp requested a review from Copilot October 24, 2025 09:16
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes a bug in JSON deserialization for xstring types by adding proper base64 decoding support. The fix ensures that xstring values can be correctly serialized to and deserialized from JSON format.

  • Added base64 decoding for xstring types during deserialization
  • Added test case to verify xstring serialization/deserialization identity
  • Updated @abaplint dependencies to version 2.12.7

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
src/json/#ui2#cl_json.clas.abap Added xstring deserialization logic with base64 decoding and removed an empty line
src/json/#ui2#cl_json.clas.testclasses.abap Added test method to verify xstring serialization/deserialization round-trip
package.json Updated @abaplint/runtime and @abaplint/transpiler-cli to version 2.12.7

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@github-actions
Copy link

Performance test results:

Performance Before After Delta
CL_CONVERSION_EXIT_INPUT 939ms 945ms 6 🟢
CL_JSON_PARSING1 1599ms 1461ms -138 🟢
CL_UI2_DESERIALIZE1 475ms 394ms -81 🟢
CL_UI2_SERIALIZE1 189ms 172ms -17 🟢

Updated: 2025-10-24T09:17:17.476Z

SHA: 5e53810

@larshp larshp merged commit 849a418 into main Oct 24, 2025
7 checks passed
@larshp larshp deleted the hvam/json2410 branch October 24, 2025 09:18
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