mirror of
https://github.com/gchq/CyberChef
synced 2025-12-05 23:53:27 +00:00
Updated comments
This commit is contained in:
@@ -46,12 +46,11 @@ class JSONToCSV extends Operation {
|
||||
run(input, args) {
|
||||
const [cellDelim, rowDelim] = args;
|
||||
|
||||
// Record values so they don't have to be passed to other functions explicitly
|
||||
this.cellDelim = cellDelim;
|
||||
this.rowDelim = rowDelim;
|
||||
const self = this;
|
||||
|
||||
// TODO: Escape cells correctly.
|
||||
|
||||
try {
|
||||
// If the JSON is an array of arrays, this is easy
|
||||
if (input[0] instanceof Array) {
|
||||
|
||||
Reference in New Issue
Block a user