diff --git a/.abapgit.xml b/.abapgit.xml
index f685d68..0b22f8a 100644
--- a/.abapgit.xml
+++ b/.abapgit.xml
@@ -12,7 +12,7 @@
702
- ZCL_AJSON_EXTENSIONS=>C_VERSION
+ /APMG/CL_AJSON_EXTENSIONS=>C_VERSION
diff --git a/README.md b/README.md
index 4fcda06..1aaf333 100644
--- a/README.md
+++ b/README.md
@@ -1,14 +1,14 @@
-
+
-[](https://github.com/abapPM/{{repo}}/blob/main/LICENSE)
+[](https://github.com/abapPM/ABAP-AJSON-Extensions/blob/main/LICENSE)
[](https://github.com/abapPM/.github/blob/main/CODE_OF_CONDUCT.md)
-[](https://api.reuse.software/info/github.com/abapPM/{{repo}})
+[](https://api.reuse.software/info/github.com/abapPM/ABAP-AJSON-Extensions)
-# {{package}}
+# AJSON Extensions
-...
+Mapping and filter extensions for [AJSON](https://github.com/sbcgua/ajson).
-NO WARRANTIES, [MIT License](https://github.com/abapPM/{{repo}}/blob/main/LICENSE)
+NO WARRANTIES, [MIT License](https://github.com/abapPM/ABAP-AJSON-Extensions/blob/main/LICENSE)
## Usage
@@ -20,19 +20,19 @@ SAP Basis 7.50 or higher
## Installation
-Install `{{module}}` as a global module in your system using [apm](https://abappm.com).
+Install `ajson-ext` as a global module in your system using [apm](https://abappm.com).
or
-Specify the `{{module}}` module as a dependency in your project and import it to your namespace using [apm](https://abappm.com).
+Specify the `ajson-ext` module as a dependency in your project and import it to your namespace using [apm](https://abappm.com).
## Contributions
-All contributions are welcome! Read our [Contribution Guidelines](https://github.com/abapPM/{{repo}}/blob/main/CONTRIBUTING.md), fork this repo, and create a pull request.
+All contributions are welcome! Read our [Contribution Guidelines](https://github.com/abapPM/ABAP-AJSON-Extensions/blob/main/CONTRIBUTING.md), fork this repo, and create a pull request.
-You can install the developer version of ABAP {{package}} using [abapGit](https://github.com/abapGit/abapGit) by creating a new online repository for `https://github.com/abapPM/{{repo}}`.
+You can install the developer version of ABAP {{package}} using [abapGit](https://github.com/abapGit/abapGit) by creating a new online repository for `https://github.com/abapPM/ABAP-AJSON-Extensions`.
-Recommended SAP package: `${{package}}`
+Recommended SAP package: `/APMG/AJSON-EXT`
## About
@@ -40,4 +40,4 @@ Made with ❤ in Canada
Copyright 2025 apm.to Inc.
-Follow [@marcf.be](https://bsky.app/profile/marcf.be) on Blueksy and [@marcfbe](https://linkedin.com/in/marcfbe) or LinkedIn
+Follow [@marcf.be](https://bsky.app/profile/marcf.be) on Bluesky and [@marcfbe](https://linkedin.com/in/marcfbe) or LinkedIn
diff --git a/abaplint.json b/abaplint.json
index 2beb1d1..8d6e230 100644
--- a/abaplint.json
+++ b/abaplint.json
@@ -37,6 +37,7 @@
"CLAS",
"DEVC",
"INTF",
+ "NSPC",
"PROG"
]
},
@@ -180,7 +181,7 @@
"aqqu": "^Z",
"aqsg": "^Z",
"auth": "^Z",
- "clas": "^ZC(L|X)\\_AJSON_EXT",
+ "clas": "^/APMG/C(L|X)_AJSON_EXT",
"cmod": "^Z",
"doma": "^Z",
"dtel": "^Z",
@@ -192,7 +193,7 @@
"idoc": "^Z",
"ignoreNames": [],
"ignorePatterns": [],
- "intf": "^ZIF\\_AJSON_EXT",
+ "intf": "^/APMG/IF_AJSON_EXT",
"msag": "^Z",
"patternKind": "required",
"pinf": "^Z",
@@ -279,7 +280,7 @@
"xml_consistency": true
},
"syntax": {
- "errorNamespace": "^(Z|Y|LCL_|TY_|LIF_)",
+ "errorNamespace": "^(/APMG/|LCL_|TY_|LIF_)",
"globalConstants": [],
"globalMacros": [],
"version": "v702"
diff --git a/package.abap.json b/package.abap.json
index 242e443..602065a 100644
--- a/package.abap.json
+++ b/package.abap.json
@@ -31,6 +31,9 @@
"type": "github",
"url": "https://github.com/sponsors/abapPM"
},
+ "dependencies": {
+ "ajson": "^1.1.12"
+ },
"engines": {
"abap": ">=7.2",
"apm": ">=1"
diff --git a/src/#apmg#.nspc.xml b/src/#apmg#.nspc.xml
new file mode 100644
index 0000000..5ecb4d0
--- /dev/null
+++ b/src/#apmg#.nspc.xml
@@ -0,0 +1,16 @@
+
+
+
+
+
+ /APMG/
+ 41813564412598342476
+
+
+ E
+ apm
+ apm.to Inc.
+
+
+
+
diff --git a/src/zcl_ajson_extensions.clas.abap b/src/#apmg#cl_ajson_extensions.clas.abap
similarity index 94%
rename from src/zcl_ajson_extensions.clas.abap
rename to src/#apmg#cl_ajson_extensions.clas.abap
index 747f999..5c20245 100644
--- a/src/zcl_ajson_extensions.clas.abap
+++ b/src/#apmg#cl_ajson_extensions.clas.abap
@@ -1,4 +1,4 @@
-CLASS zcl_ajson_extensions DEFINITION
+CLASS /apmg/cl_ajson_extensions DEFINITION
PUBLIC
FINAL
CREATE PUBLIC.
@@ -45,7 +45,7 @@ ENDCLASS.
-CLASS zcl_ajson_extensions IMPLEMENTATION.
+CLASS /apmg/cl_ajson_extensions IMPLEMENTATION.
METHOD filter_empty_zero_null.
diff --git a/src/zcl_ajson_extensions.clas.locals_imp.abap b/src/#apmg#cl_ajson_extensions.clas.locals_imp.abap
similarity index 100%
rename from src/zcl_ajson_extensions.clas.locals_imp.abap
rename to src/#apmg#cl_ajson_extensions.clas.locals_imp.abap
diff --git a/src/zcl_ajson_extensions.clas.testclasses.abap b/src/#apmg#cl_ajson_extensions.clas.testclasses.abap
similarity index 88%
rename from src/zcl_ajson_extensions.clas.testclasses.abap
rename to src/#apmg#cl_ajson_extensions.clas.testclasses.abap
index 4d63468..7fa2f65 100644
--- a/src/zcl_ajson_extensions.clas.testclasses.abap
+++ b/src/#apmg#cl_ajson_extensions.clas.testclasses.abap
@@ -51,7 +51,7 @@ CLASS ltcl_ajson_libs IMPLEMENTATION.
)->set(
iv_path = '/'
iv_val = abap_test
- )->map( zcl_ajson_extensions=>to_camel_case_underscore( )
+ )->map( /apmg/cl_ajson_extensions=>to_camel_case_underscore( )
)->stringify( ).
cl_abap_unit_assert=>assert_equals(
@@ -65,7 +65,7 @@ CLASS ltcl_ajson_libs IMPLEMENTATION.
DATA abap_result TYPE ty_test.
DATA ajson TYPE REF TO zif_ajson.
- ajson = zcl_ajson=>parse( json_test )->map( zcl_ajson_extensions=>from_camel_case_underscore( ) ).
+ ajson = zcl_ajson=>parse( json_test )->map( /apmg/cl_ajson_extensions=>from_camel_case_underscore( ) ).
ajson->to_abap( IMPORTING ev_container = abap_result ).
@@ -98,7 +98,7 @@ CLASS ltcl_ajson_libs IMPLEMENTATION.
act = zcl_ajson=>create_from(
ii_source_json = test
- ii_filter = zcl_ajson_extensions=>filter_empty_zero_null( ) ).
+ ii_filter = /apmg/cl_ajson_extensions=>filter_empty_zero_null( ) ).
cl_abap_unit_assert=>assert_equals(
act = act->stringify( )
@@ -126,7 +126,7 @@ CLASS ltcl_ajson_libs IMPLEMENTATION.
act = zcl_ajson=>create_from(
ii_source_json = test
- ii_filter = zcl_ajson_extensions=>filter_empty_zero_null( ) ).
+ ii_filter = /apmg/cl_ajson_extensions=>filter_empty_zero_null( ) ).
cl_abap_unit_assert=>assert_equals(
act = act->stringify( )
diff --git a/src/zcl_ajson_extensions.clas.xml b/src/#apmg#cl_ajson_extensions.clas.xml
similarity index 90%
rename from src/zcl_ajson_extensions.clas.xml
rename to src/#apmg#cl_ajson_extensions.clas.xml
index e2697c7..17614a1 100644
--- a/src/zcl_ajson_extensions.clas.xml
+++ b/src/#apmg#cl_ajson_extensions.clas.xml
@@ -3,7 +3,7 @@
- ZCL_AJSON_EXTENSIONS
+ /APMG/CL_AJSON_EXTENSIONS
E
AJSON More Libraries
1