pub fn objects_json(d: &Drawing) -> StringExpand description
Build the JSON per-object geometry array: one entry per emitted
<g id="sN"> group, with the shape kind, its bbox in SVG user units
(null for invisible shapes), the object’s link URL when one was set,
and — when known — the source span of the statement that produced it
(file follows the same convention as diagnostics: absent = user input,
"circuits" = the -c library, else the copy include name).