How to read Nested JSON Array (Source reading as string instead of array) in data flow?

Anuganti Suresh 200 Reputation points
2024-01-07T15:44:00.7866667+00:00

string to array01

string to array02

I have nested JSON file as shown in image. In source kycStatus.personal .failureReason reading as string instead of array. How to read failureReason as array?

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,624 questions
{count} votes

1 answer

Sort by: Most helpful
  1. KranthiPakala-MSFT 46,642 Reputation points Microsoft Employee Moderator
    2024-01-09T06:44:52.67+00:00

    @Anuganti Suresh Welcome to Microsoft Q&A forum and thanks for reaching out here.

    As per your screenshot the value of failiureReason is array of strings. The array is stored in the “failureReason” field of the “Personal” object. (i.e., The “failureReason” field contains an array of two string values).

    I don't see any issue here. Could you please elaborate a bit on what is your expectation or expected output or outcome from that column values, so that we could assist accordingly.

    Thanks

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.