Marc Bernard
Marc Bernard
You are right, the `/` should be escaped in the original JSON. Maybe best to raise an error if the value contains unescaped special characters. But I guess it's still...
`..` returns all matching attributes. '$..attributes[0]` would give you the first.
Jq would be an option, too. Looks like a package of C with dependencies, though.
I prefer a "short verb" for method names as long as it's consistently used (i.e. not `new` for one class and `create` for another). I don't mind adjusting existing code....
The `members` function should do the trick. Here's an example of how I use it: https://github.com/Marc-Bernard-Tools/ABAP-Lint-Ext-for-abapGit/blob/2e952607e7efc8ae7b5c95bd852f583396122489/src/zcl_abaplint_abapgit_ext_chkrn.clas.abap#L73-L111
Aside from tracing/debugging, I can't think of a scenario where serializing private attributes makes sense. Do we really need this?
I would go with the most famous isEmpty implementation: https://github.com/lodash/lodash/blob/main/src/isEmpty.ts It's working differently now: https://github.com/sbcgua/ajson/blob/2504b311e7e4695f1aea94f11c3cc883c4df8391/src/libs/zcl_ajson_filter_lib.clas.locals_imp.abap#L11-L18 I changed my custom empty filter to the following which also removes `null` and initial...
The ABAP language Version feature should support this case already (for the objects that have ALaV implemented). But I'm not sure about the release contracts. If they are part of...
You need to update certificates in STRUST https://docs.abapgit.org/user-guide/setup/ssl-setup.html