Open jbrendel opened 3 hours ago
master
Export a table with more than one entry. The last one will have a trailing ,, which is not valid JSON.
,
Export a table, check the last two characters, they will be ,].
,]
No trailing ,
A comma is added after the last entry in the output table.
No response
Ubuntu 20.04, version 0.20.0
I'll provide a PR for the fix shortly.
I have submitted a PR for this: https://github.com/aminalaee/sqladmin/pull/843
Checklist
master
.Describe the bug
Export a table with more than one entry. The last one will have a trailing
,
, which is not valid JSON.Steps to reproduce the bug
Export a table, check the last two characters, they will be
,]
.Expected behavior
No trailing
,
Actual behavior
A comma is added after the last entry in the output table.
Debugging material
No response
Environment
Ubuntu 20.04, version 0.20.0
Additional context
I'll provide a PR for the fix shortly.