Customer Portal

Create json records

Comments 1

  • Avatar
    imriskal
    0
    Comment actions Permalink
    Hi Micky,

    I am not exactly sure how the output should look like because the two output records are not valid JSON records. There are two issues in there:
    A) names and string values should be in double quotes,
    B) root element should not be named.

    I prepared an example where two approaches are used. One contains a named array which is wrapped by root element and the the other one contains a root array but without any name. You can pick the approach you like. If the output should really be invalid, you can not use JSONWriter components to create invalid JSON files. You could use StructuredDataWriters and Reformats instead.

    I hope this helps.

Please sign in to leave a comment.