Merged
Conversation
Contributor
Looks like new artifacts were built from this PR. Get them here!Artifact URLs |
Contributor
Looks like new artifacts were built from this PR. Get them here!Artifact URLs |
Contributor
Looks like new artifacts were built from this PR. Get them here!Artifact URLs |
2 tasks
Contributor
Looks like new artifacts were built from this PR. Get them here!Artifact URLs |
Contributor
Looks like new artifacts were built from this PR. Get them here!Artifact URLs |
Contributor
Looks like new artifacts were built from this PR. Get them here!Artifact URLs |
Contributor
Looks like new artifacts were built from this PR. Get them here!Artifact URLs |
Contributor
Looks like new artifacts were built from this PR. Get them here!Artifact URLs |
Contributor
|
This is so cool! I tested it out and it works great! I'll file the "zip" feature request today. Two notes from testing:
|
Contributor
Looks like new artifacts were built from this PR. Get them here!Artifact URLs |
Contributor
Author
|
@samhld thanks for the feedback! This is a limitation of TOML that sub-tables needs the parent name. I agree it would be nicer if it was just object/field/tag. I did update the README to be more clear and removed "xxx" with an actual example. |
Contributor
|
@sspaink Oh gotcha! TIL! |
Contributor
Looks like new artifacts were built from this PR. Get them here!Artifact URLs |
Contributor
Looks like new artifacts were built from this PR. Get them here!Artifact URLs |
Contributor
Looks like new artifacts were built from this PR. Get them here!Artifact URLs |
Contributor
Looks like new artifacts were built from this PR. Get them here!Artifact URLs |
Contributor
Looks like new artifacts were built from this PR. Get them here!Artifact URLs |
added 2 commits
June 10, 2021 11:17
added 19 commits
June 10, 2021 11:17
Contributor
Looks like new artifacts were built from this PR. Get them here!Artifact URLs |
reimda
reviewed
Jun 10, 2021
| * `uint`, bool, floats or strings (with valid numbers) can be converted to a uint. | ||
| * `string`, any data can be formatted as a string. | ||
| * `float`, string values (with valid numbers) or integers can be converted to a float. | ||
| * `bool`, the string values "true" or "false" (regardless of capitalization) or the integer values `0` or `1` can be turned to a bool. |
Contributor
There was a problem hiding this comment.
Would it be worth it to add a section for people upgrading from v1?
Contributor
Author
There was a problem hiding this comment.
Good idea, we should look into adding this. Need to get some example configs from v1.
Contributor
Looks like new artifacts were built from this PR. Get them here!Artifact URLs |
reimda
pushed a commit
that referenced
this pull request
Jun 10, 2021
(cherry picked from commit 885252d)
arstercz
pushed a commit
to arstercz/telegraf
that referenced
this pull request
Aug 28, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Close #9197, #1363
This pull request introduces a new JSON Parser called
json_v2that is intended to be more flexible then the existing JSON parser.The query language being used will still be GJSON Path Syntax, but the way to configure this parser has changed significantly. I've provided multiple configuration examples within the
testdatadirectory under thejson_v2 directory. The README.md also goes into more detail on how the configuration works.Issues closed: