Extracting array from JSON in mule esb

后端 未结 2 1202
梦如初夏
梦如初夏 2021-01-15 05:12

I\'m using Mule 3.4 CE and I have a JSON data coming through HTTP in the following format:

{
   \"People\" : [
    {
       \"Details\" : 
       {
                  


        
2条回答
  •  渐次进展
    2021-01-15 05:58

    If you want to get the particular email in the details use the below MEL expression.

    #[json:People[0]/Details/Email]
    

    If you want to get all the emails, pass the json path of repeatable in ForEach Collections then pass the path to get Email as shown below.

     
        
        
            
        
        
            
        
    
    

提交回复
热议问题