Project

General

Profile

« Previous | Next » 

Revision 14618

bugfix: lib/tnrs.py: JSON output: need to stringify arrays so they match what is output in TSV-export mode

View differences:

trunk/lib/tnrs.py
256 256
            debug_log('JSON data', strings.urepr(data_json))
257 257
            output_stream = csvs.InputRewriter(
258 258
                csvs.RowNumFilter(
259
                    csvs.JsonReader(data_json['items'], json_cols[1:]),
259
                    csvs.JsonReader(data_json['items'], json_cols[1:], ';'),
260 260
                    json_cols[0]
261 261
                )
262 262
            )

Also available in: Unified diff