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

Four Stars md
Four Stars

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
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.

What’s New for Talend Spring ’19

Watch the recorded webinar!

Watch Now

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.

Download

Tutorial

Introduction to Talend Open Studio for Data Integration.

Watch

Downloads and Trials

Test drive Talend's enterprise products.

Downloads