title: JSON Path Syntax to merge two arrays
body: <p>I have a jSOn with two arrays. I would like to merge all items of both arrays into a single array. Is there a jSOn path syntax i could use to give the desired output?</p>
  
  <p><strong>I have this:</strong></p>
  
  <pre><code>[
      "SomeArray",
      {
          "Branch1": {
              "Branch2": {
                  "Branch3": {
                      "Array1": [
                          "Item1InArray1",
                          "Item2InArray1"
                      ],
                      "Array2": [
                          "Item1InArray2",
                          "Item2InArray2"
                      ]
                  }
              }
          }
      }
  ]
  </code></pre>
  
  <p><strong>And want this output:</strong> Its essentially two paths: <code>[1].Branch1.Branch2.Branch3.Array1</code> and <code>[1].Branch1.Branch2.Branch3.Array2</code></p>
  
  <pre><code>[
      "Item1InArray1",
      "Item2InArray1",
      "Item1InArray2",
      "Item2InArray2"
  ]
  </code></pre>