Skip to content

There is an issue with the content of the rows listed in tJSONDocInputStream #46

@HeroHetao

Description

@HeroHetao

The JSON content is as follows:

[{
		"header": "global header1",
		"items": []
	}, {
		"header": "global header2",
		"items": [{
				"group_header": "group_header21",
				"item_data": [{
						"item-key": 211
					}, {
						"item-key": 212,
						"item-value": {
							"a4": "b4"
						}
					}, {
						"item-key": 213
					}
				]
			}, {
				"group_header": "group_header22",
				"item_data": [{
						"item-key": 221
					}, {
						"item-key": 222
					}, {
						"item-key": 223,
						"item-value": {
							"a5": "b5"
						}
					}
				]
			}
		]
	}
]

JsonPath use $[*].items[*] , Find the content of column 'group_header'

.--------------.
|  tLogRow_9   |
|=------------=|
|group_header  |
|=------------=|
|null          |
|group_header22|
'--------------'

The expected content should actually be:

.--------------.
|  tLogRow_9   |
|=------------=|
|group_header  |
|=------------=|
|group_header21|
|group_header22|
'--------------'

or

.--------------.
|  tLogRow_9   |
|=------------=|
|group_header  |
|=------------=|
|null          |
|group_header21|
|group_header22|
'--------------'

Bests Regards
2023-06-15 222816

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions