JSON doesn't allow a trailing comma in Arrays/Objects
This is a backport of Core PR18444
Differential D8892
RPC: Remove final comma for last entry of fixed-size Arrays and Objects in RPCResult PiRK on Jan 13 2021, 09:31. Authored by
Details
JSON doesn't allow a trailing comma in Arrays/Objects This is a backport of Core PR18444 Look at the help message for a command that return a JSON object, and verify that the last item in the output example does not have a trailing comma src/bitcoin-cli help getblockstats
Diff Detail
|