liugddx commented on issue #3573:
URL: 
https://github.com/apache/incubator-seatunnel/issues/3573#issuecomment-1330155972

   > 
   
   This needs to be parsed through the schema, json-path does not need to care 
about the returned type, it is only responsible for simplifying the returned 
data.In addition, we can get the fields in phoneNumbers.for example:
   
   ```
   source {
     Http {
       url = "http://mockserver:1080/jsonpath/mock";
       method = "GET"
       format = "json"
       json_field = {
         type = $.phoneNumbers[*].type
          number = $.phoneNumbers[*].number
       }
       schema = {
         fields {
           type = string
                number = string
         }
       }
     }
   }
   ```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to