mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-23 16:26:16 -04:00
Updated comments
This commit is contained in:
parent
12ebd35c4d
commit
69df2e4183
2 changed files with 22 additions and 50 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue