JSON array concat

json-array-concat · version 1.0.0 · JSON & JSONL · free, no key needed

Concatenate multiple JSON arrays of objects into one.

Use when you need to: json array concat · concatenate json arrays · combine json arrays.

Supported

Not supported

Behavior

Input

Output

Limits

Example

Request input:

{
  "arrays": [
    [
      {
        "a": 1
      }
    ],
    [
      {
        "b": 2
      }
    ],
    [
      {
        "c": 3
      }
    ]
  ]
}

Response:

{
  "result": {
    "result": [
      {
        "a": 1
      },
      {
        "b": 2
      },
      {
        "c": 3
      }
    ],
    "count": 3
  }
}

How to call it

MCP

Connect https://computefirst.net/mcp (setup), then call execute with:

{
  "id": "json-array-concat",
  "version": "1.0.0",
  "input": {
    "arrays": [
      [
        {
          "a": 1
        }
      ],
      [
        {
          "b": 2
        }
      ],
      [
        {
          "c": 3
        }
      ]
    ]
  }
}

HTTP (no key)

curl -X POST https://computefirst.net/v1/tools/json-array-concat/versions/1.0.0/execute \
  -H "Content-Type: application/json" \
  -d '{"arrays":[[{"a":1}],[{"b":2}],[{"c":3}]]}'

The machine-readable contract is at /v1/tools/json-array-concat/versions/1.0.0.

CLI

node cli.mjs run json-array-concat 1.0.0 --input input.json --base-url https://computefirst.net

Get the client at /clients/cli/.