Version

    Multiple Edges

    If multiple ports on the Output component are connected to, the data from edges is concatenated (into a valid JSON or XML document) after serialization. Serialized data is appended to the response in increasing port order, i.e. all records from port 0 are serialized first, all records from port 1 are appended next, then port 2, etc.

    Edges JSON output

    Output format: JSON

    Port 0 - Books:

    Title | Year
    Moby Dick | 1851
    Don Quixote | 1605

    Port 1 - Movies:

    Movie | Director | Revenue
    Blade Runner | Ridley Scott | 33.8
    Terminator | James Cameron | 78.3
    Kill Bill | Quentin Tarantino | 333.1
    {
      "Books" : [ {
        "Title" : "Moby Dick",
        "Year" : 1851
      }, {
        "Title" : "Don Quixote",
        "Year" : 1605
      } ],
      "Movies" : [ {
        "Movie" : "Blade Runner",
        "Director" : "Ridley Scott",
        "Revenue" : 33.8
      }, {
        "Movie" : "Terminator",
        "Director" : "James Cameron",
        "Revenue" : 78.3
      },
     {
        "Movie" : "Kill Bill",
        "Director" : "Quentin Tarantino",
        "Revenue" : 333.1
      }  ]
    }