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

   > > > > 
   > > > 
   > > > 
   > > > > Hi, I think we should focus on the data we need. json-path can 
extract the data we need and block out the unnecessary data. This can reduce 
our workload of configuring the schema #3510 please see this pr @TaoZex
   > > > 
   > > > 
   > > > `json-path` is a good way to read irregular json node from a json. 
However, `json-path` requires users to understand regular expressions and make 
a lot of configurations. If there are many json nodes to read, this method is 
not friendly. For those who only need to read the data of a certain json node 
and its child nodes, the `content-field` method will be more friendly and 
simple.
   > > 
   > > 
   > > 1.Regarding the difficulty of using,we can use publicly available tools 
to help parse like https://jsonpath.com/ 2.Regarding getting some json nodes, I 
think this solution can also be done. We can configure the expression of the 
node. 
![image](https://user-images.githubusercontent.com/48236177/204449802-dd2de422-fe37-4ba2-b130-4615b602b8dc.png)
   > 
   > Regarding the second point, it can be completed in the next step.
   
   Thanks, `jsonpath` is a good tools, we can use it. Another question is how 
to let connector to know `$.phoneNumbers` is read as a string or a table have 
columns `type, number`?


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