It is not about laws, but about experts opinions in judgments. Courts routinely hire lawyers and experts to redact very formal, technical, philosophical and nitpicky memos about a topic. The CJEU has a resident pool of such experts and they are all very qualified (and variegate in their political orientation).
Obviously those memos are not turned into law. We are talking about judgments here. But those memos are read and used by judges to inform their decisions. I would just love to get access to the memos that are surely being produced for this case.
There are many examples where case law differs from the exact wording of a law for a very good reason.
What if your purpose in publishing that JSON feed was to supply URLs to a content-blocker? Would that change of purpose matter?
Legal definitions are usually based on common sense and the "flies like a duck, quacks like a duck, ..." principle.
A clumsy first approximation: If the purpose and intended use of the thing is to provide access to or greatly help in finding access to the infringing content, then it's "linking" to that content.