From 423facc9dfd26bb1702078d88d8d9761d28e3a6b Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Sat, 30 Aug 2025 16:17:57 +0200 Subject: efa-m --json: print canonical output for easier debugging --- bin/efa-m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/efa-m b/bin/efa-m index e267d80..e92dd3c 100755 --- a/bin/efa-m +++ b/bin/efa-m @@ -593,14 +593,14 @@ if ( my $err = $efa->errstr ) { if ($json_output) { if ($stopseq) { - say JSON->new->convert_blessed->encode( $efa->result ); + say JSON->new->canonical->convert_blessed->encode( $efa->result ); } else { - say JSON->new->convert_blessed->encode( [ $efa->results ] ); + say JSON->new->canonical->convert_blessed->encode( [ $efa->results ] ); } } elsif ($raw_json_output) { - say JSON->new->convert_blessed->encode( $efa->{response} ); + say JSON->new->canonical->convert_blessed->encode( $efa->{response} ); } elsif ($coord) { show_coord(); -- cgit v1.2.3