Five Stars

Use JSONpath in tExtractJSONFields

Why tExtractJSONFields is using XPath instead of JSONPath to extract element? In my opinion it would make more sense to use JSONPath to work with JSON and keep XPath for tExtractXMLField
4 REPLIES
Employee

Re: Use JSONpath in tExtractJSONFields

As jsonPath can't deal with complex data format as xpath,so we use xpath.
Moderator

Re: Use JSONpath in tExtractJSONFields

Hi,
It is determined by the thirdy party JAR we used in talend.
It is welcome to open a feature jira issue of DI project for your requirement(Like tFileInputJSON, one for XPATH, and one for JSONPath)on TalendBugTracker.
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Five Stars

Re: Use JSONpath in tExtractJSONFields

Hello Sabrina,
I've open the following issue: https://jira.talendforge.org/browse/TDI-29315
It looks like JSON support is quite new for talend DI and ESB.
thanks for your support
Moderator

Re: Use JSONpath in tExtractJSONFields

Hi,
Thanks for your contribution. We will inform you as long as there is a response in this feature jira issue.
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.