Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(serializers.json): Support serializing JSON nested in string fields #12260

Merged
merged 5 commits into from
Nov 18, 2022

Conversation

srebhan
Copy link
Contributor

@srebhan srebhan commented Nov 17, 2022

resolves #12070

This PR allows the user to specify fields that contain JSON object nested in a string value. When serializing these fields, the string is first unmarshalled to it's JSON object. The un-nesting happens before transformation in order to allow for arbitrary processing.

@telegraf-tiger telegraf-tiger bot added area/json json and json_v2 parser/serialiser related feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin plugin/serializer labels Nov 17, 2022
@telegraf-tiger
Copy link
Contributor

Copy link
Contributor

@powersj powersj left a comment

Choose a reason for hiding this comment

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

Thank you for grabbing this and putting up a PR.

@powersj powersj added the ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review. label Nov 17, 2022
@srebhan srebhan merged commit 0f8dff9 into influxdata:master Nov 18, 2022
@srebhan srebhan deleted the serializer_json_issue_12070 branch November 18, 2022 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/json json and json_v2 parser/serialiser related feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin plugin/serializer ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support JSON nested in fields for JSON serializer
2 participants