Arreglo JSON a NDJSON
json-to-ndjsonSerializa un arreglo JSON como NDJSON (un valor por línea). Cuándo: hay que transformar, comparar o revisar con exactitud datos estructurados (JSON, CSV, YAML, XML, arreglos). No para: convertir JSON delimitado por líneas (ndjson-to-json). Efectos secundarios: ninguno (solo lectura, sin red, sin estado guardado). Determinista: la misma entrada da la misma salida. Límites: entrada JSON de hasta 64 KB, 1 s por llamada, resultado de hasta 1 MB.
EN: Serializes an array of JSON values as newline-delimited JSON (one compact value per line). When: structured data (JSON, CSV, YAML, XML, arrays) has to be transformed, compared or checked exactly. Not for: parsing newline-delimited JSON (ndjson-to-json). Side effects: none (read-only, no network access, no stored state). Deterministic: the same input gives the same output. Limits: JSON input up to 64 KB, 1 s per call, result up to 1 MB.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"values": "<values>"
},
"name": "json-to-ndjson"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| values | Yes | Values (array; required). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ndjson | No |