Skip to content
This repository has been archived by the owner on Dec 17, 2023. It is now read-only.

http json converter escaping and valid empty json conversion added #130

Merged
merged 2 commits into from
Jan 31, 2021

Conversation

JohannesKonings
Copy link
Member

closes #125
closes #70

converted_metrics = converted_metrics && |"{ <metric>-metric_key }" : { <metric>-metric_value },|.
DATA(metric_key) = <metric>-metric_key.

REPLACE ALL OCCURRENCES OF REGEX `(["\\\/])` IN metric_key WITH `\\$0`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good hint. Maybe we can raise a good first issue to do that afterwards?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure 👍

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Issue created: #133

Copy link
Member

@Goala Goala left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Goala Goala merged commit 09678cb into abap-observability-tools:main Jan 31, 2021
@JohannesKonings JohannesKonings deleted the converter branch February 3, 2021 16:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

escape characters for json converter Broken Json for scenrios not already run
2 participants