Subject: [PATCH iproute2-next 0/3] misc: convert to high-level json_print API

From: Andrea Claudi <[email-masked]>
Date: Tue, 21 Oct 2025 22:39:15 +0200

This patch series converts three utilities in the misc/ directory
(ifstat, nstat, and lnstat) from using the low-level json_writer API to
the high-level json_print API, ensuring they use the same json printing
logic of all the other iproute2 tools.

The JSON output before and after these changes remains the same.

Andrea Claudi (3):
  ifstat: convert to high-level json_print API
  nstat: convert to high-level json_print API
  lnstat: convert to high-level json_print API

 misc/ifstat.c | 85 ++++++++++++++++++++++-----------------------------
 misc/lnstat.c | 17 +++++------
 misc/nstat.c  | 48 +++++++++++++----------------
 3 files changed, 65 insertions(+), 85 deletions(-)

-- 
2.51.0