Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello. I used Xpath for retrieving JsonFields as shown on the forum. However, the output is in the form of name-value pair which is not like the one shown on Talend Forum.
The output is as follows:-
.-------------+-----------+-----------------+------------------.
| tLogRow_1 |
|=------------+-----------+-----------------+-----------------=|
|name |id |fname |lname |
|=------------+-----------+-----------------+-----------------=|
|{"name":"HR"}|{"id":"11"}|{"fname":"Ajay"} |{"lname":"Murthy"}|
|{"name":"HR"}|{"id":"11"}|{"fname":"Ameya"}|{"lname":"Pandey"}|
|{"name":"HR"}|{"id":"11"}|{"fname":"Amit"} |{"lname":"Joshi"} |
I want the output rows to contain a single value and not name-value pair as shown above. How can I achieve it (without using JsonPath) by using Xpath?