ajson
ajson copied to clipboard
Taking `xstring` and `string_table` as input
Currently, the JSON input must be type string. Ajson has to convert it to xstring before calling the SAP SXML class.
If the input is already available as xstring (for example when getting it via abapGit get_local/remote_files), then it would be nice if the conversion to string (and back to xstring) could be skipped for better performance.
It would be nice to take data with type string_table as input as well.
I can do a PR if you like.
Interesting idea.
whats the use case for string_table by the way ?
You can get a string table
- if you compose the
jsonmanually - get data from an editor
- have a string split by
crlf - as output of pre-parsing the comments
I might get to it next week.