One Star md
One Star

How to Define JSON Schema or Xpath in Talend Big Data open studio

Can someone please tell how to define this Xpath or JSON schema in TALEND ...I am trying to read one sample file with tFileInputJSON ... How to understand the JSON format and write scheme in Talend


{
   "id;firstname;lastname;address;date;revenue;states": "1;Andrew;Cleveland;South Roosevelt Drive;20/01/2005;55239;XX"
},
{
   "id;firstname;lastname;address;date;revenue;states": "2;Franklin;Jefferson;Carpinteria Avenue;19/05/2006;78148;NC"
},
{
   "id;firstname;lastname;address;date;revenue;states": "3;Calvin;Cleveland;Corona Del Mar;28/09/2000;77912;CT"
},
{
   "id;firstname;lastname;address;date;revenue;states": "4;Grover;Ford;Cleveland Ave.;27/11/2001;76036;XX"
},
thanks
1 REPLY
Moderator

Re: How to Define JSON Schema or Xpath in Talend Big Data open studio

Hi,
You can use File json metadata to check schema reviewer.
Please refer to documents:TalendHelpCenterSmiley Frustratedetting up JSON metadata for an input file and TalendHelpCenterSmiley Frustratedetting up JSON metadata for an output file.
Let us know if it is Ok with you.
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.