Skip to content

Commit 45bbbfd

Browse files
authored
fix menu
1 parent b9e9479 commit 45bbbfd

File tree

2 files changed

+23
-14
lines changed

2 files changed

+23
-14
lines changed

docs/.vitepress/config.mjs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -172,13 +172,13 @@ export default defineConfig({
172172
{ text: 'UI5 Freestyle', link: '/technical/technology/ui5' },
173173
] },
174174
{ text: 'Tools', collapsed : "false" , items: [
175-
{ text: 'abapGit', link: '/advanced/tools/abapgit' },
176-
{ text: 'ajson', link: '/advanced/tools/ajson' },
177-
{ text: 's-rtti', link: '/advanced/tools/srtti' },
178-
{ text: 'abaplint', link: '/advanced/tools/abaplint' },
179-
{ text: 'open-abap', link: '/advanced/tools/open_abap' },
180-
{ text: 'abap-cleaner', link: '/advanced/tools/abap_cleaner' },
181-
{ text: 'abapmerge', link: '/advanced/tools/abapmerge' },
175+
{ text: 'abapGit', link: '/technical/tools/abapgit' },
176+
{ text: 'ajson', link: '/technical/tools/ajson' },
177+
{ text: 's-rtti', link: '/technical/tools/srtti' },
178+
{ text: 'abaplint', link: '/technical/tools/abaplint' },
179+
{ text: 'open-abap', link: '/technical/tools/open_abap' },
180+
{ text: 'abap-cleaner', link: '/technical/tools/abap_cleaner' },
181+
{ text: 'abapmerge', link: '/technical/tools/abapmerge' },
182182
]
183183
}
184184
]

docs/technical/tools/ajson.md

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,27 @@
11
# ajson
22

3-
abap2UI5 relies heavily on JSON handling for frontend/backend communication, initially using `/UI2/CL_JSON`. Over time, various issues arose because certain functionalities were not available in specific releases and its limited documentation.
3+
abap2UI5 handles all frontend-backend communication through JSON. Initially, the framework used SAP's `/UI2/CL_JSON`, but this approach proved problematic: critical functionality varied across releases, documentation was sparse, and compatibility issues emerged frequently.
44

5-
To address these challenges, abap2UI5 uses the open-source project [ajson](https://github.com/sbcgua/ajson) for JSON handling.
5+
The solution: [ajson](https://github.com/sbcgua/ajson), a robust open-source JSON library that transformed abap2UI5's architecture.
66

7-
Using ajson significantly reduces dependencies on SAP APIs. Moreover, it provides a straightforward and reliable approach to JSON handling, thanks to its clear API, excellent documentation, quick support for issue resolution, and best of all — it is compatible from version 702 to ABAP Cloud.
7+
**Why ajson?**
8+
* **Zero SAP API Dependencies** - Eliminates reliance on release-specific SAP classes
9+
* **Universal Compatibility** - Works seamlessly from NW 7.02 to ABAP Cloud
10+
* **Developer-Friendly** - Intuitive API with comprehensive documentation
11+
* **Active Maintenance** - Responsive issue resolution and continuous improvements
12+
* **Battle-Tested** - Proven reliability across diverse ABAP environments
813

914
#### Integration
1015

11-
It is integrated into the project under the `z2ui5` namespace and automatically installed with every abap2UI5 installation. You can access it directly using:
16+
ajson integrates directly into the `z2ui5` namespace and installs automatically with abap2UI5. Access it anywhere in your code:
1217
```abap
13-
z2ui5_cl_ajson=>
18+
DATA(json) = z2ui5_cl_ajson=>parse( json_string ).
19+
DATA(output) = z2ui5_cl_ajson=>create_empty( )->set(
20+
iv_path = '/name'
21+
iv_val = 'value'
22+
)->stringify( ).
1423
```
1524

16-
#### Updates
25+
#### Automatic Updates
1726

18-
Every update and bug fix in ajson is automatically reflected in abap2UI5 via GitHub Actions and the [mirror-ajson](https://github.com/abap2UI5/mirror-ajson) repository, ensuring always using the latest version.
27+
Every ajson update and bug fix flows automatically into abap2UI5 via GitHub Actions and the [mirror-ajson](https://github.com/abap2UI5/mirror-ajson) repository. You're always running the latest stable version without manual intervention.

0 commit comments

Comments
 (0)