From bc0ac5c51f9003239cd2f244f4fee4dbdcaaa391 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 14 Sep 2026 14:51:09 +0000 Subject: [PATCH] Deprecations: JSON is built and read by hand, there is no released reader The utility-classes warning pointed at `z2ui5_cl_ui5_json` as the reader an app should use. That class was removed from abap2UI5 `src/02` on 2026-09-14 without ever having shipped in a release, so the sentence named an object no reader can find. What replaces it is what the apps already do: compose JSON as a string in ABAP and bind it with `_bind( val = ... json = abap_true )` outbound, read the one field you need with `find` / `substring_before` inbound. The payloads that reach an app are written by the framework and are flat, so that is the whole job - there is deliberately no released parser, and the page now says so rather than pointing somewhere. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_019rmo8XKoBEpBRZ2TZMUQrF --- docs/resources/deprecations.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/resources/deprecations.md b/docs/resources/deprecations.md index 64baf0aa..381fdd45 100644 --- a/docs/resources/deprecations.md +++ b/docs/resources/deprecations.md @@ -378,8 +378,12 @@ still work; treat them as stable-but-closed rather than as something to migrate away from today. No page of this documentation uses them any more: what the examples reached them for is SAP standard — `cl_web_http_utility` for base64 (`cl_http_utility=>if_http_utility~encode_x_base64( )` on older releases), and -a failing library raises its own exception instead of being wrapped. The JSON -reader an app needs is the released `z2ui5_cl_ui5_json`. +a failing library raises its own exception instead of being wrapped. JSON is +built and read by hand: compose it as a string in ABAP and bind it with +`_bind( val = ... json = abap_true )` on the way out, and read the one field +you need with `find` / `substring_before` on the way in — the payloads that +reach an app are written by the framework and are flat. There is deliberately +no released parser. ::: ### Invisible custom controls