ip route can produce invalid JSON under certain circumstances, here there are two fixes for this.
Matteo Croce (2): ip route: print route type in JSON output ip route: get: print JSON output when -j is given ip/iproute.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) -- 2.20.1