Open ThoralfHaensel opened 3 years ago
replacement of the regex: https://github.com/abap-observability-tools/abap-metrics-provider/blob/385a55383accbdf2f24361a3bbd9ebdccc180997/src/zamp_converter/zcl_amp_conv_http_json.clas.abap#L39
Maybe also addition to the unit tests https://github.com/abap-observability-tools/abap-metrics-provider/blob/main/src/zamp_converter/zcl_amp_conv_http_json.clas.testclasses.abap
The ABAP method "escape" can be used to escape all JSON strings (keys and values) in zcl_amp_conv_http_json.
https://help.sap.com/doc/abapdocu_751_index_htm/7.51/en-us/abenescape_functions.htm#@@ITOC@@ABENESCAPE_FUNCTIONS_3