Merging JSON-documents - click, click, right click, merge documents -, results in json.txt. I would expect at least .json as file extension. At best merging is context aware - adding commas between arrays - I’m dreaming, as this would be a quite complex task.

Source
data.zip (2.1 KB)
That would entail a syntax check. And would two valid JSON strings joined by a comma result in a new valid JSON string?
Imagine an array in one and an object in the other. How would you „join“ these data in JavaScript?
Do clarify:
[ "1", "2", "3"]
{"a": "b", "c": "d"}
Merging these two by just adding a comma between them will not create anything useful or even correct JSON.
What merging them even means is not clear.
There may be certain, clearly-defined JSON structures (and corresponding JS objects) for which it’s feasible. But not in the general case with arbitrary JSON strings.
DEVONthink supports editing only of popular and standardized file formats like plain text, RTF, HTML, Markdown, sheets and PDF. And merging of documents supports only the output formats plain text, RTF(D) and PDF.
Sure. That’s what I meant with complex.
Given your examples, adding such a function does not make any sense. So @cgrunenberg forget about my question.