Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
kuwaryogi27
Creator
Creator

how to extract ArrayList using tExtractJSONFileds

Hello All, I am stuck at a scenario where I want to extract an arraylist using textractjsonfileds.

In below JSON we want to extract typeIds

Source JSON :

{

 "content": [

  {

   "typeIds": [

    "CL_Offersheet_ProcessCost",

    "CL_OFFERSHEET_MOEMAX"

   ],

   "id": "9c783501-20ee-4b04-ab09-6923e5ed0769",

   "label": "Offer sheet M�max New",

   "languageCode": "de_DE_AT",

   "taxonomyIds": [

    "TAX_KAT_OF_2",

    "TAXm_DP_6"

   ]

  }

 ]

}

Expected output :

0693p00000BZLvJAAX.png

Labels (2)
2 Replies
NCooperDevelux
Contributor
Contributor

Probably it would help you https://stackoverflow.com/questions/48921416/how-to-extract-element-from-arraylist-of-json-pojo-class

 

 

Best Regards, Nick Cooper. Develux

Ann21032
Contributor
Contributor

tExtractJSONFields and List. Hi, I'm new to Talend and using Talend Open Studio for Big Data. I have a problem extracting datas from a JSON.

 

walgreenslistens