convert-csv-to-json 4.13.0 → 4.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/.github/workflows/ci-cd.yml +1 -1
  2. package/docs/api/BrowserApi.html +1255 -1028
  3. package/docs/api/BrowserApiError.html +326 -179
  4. package/docs/api/ConfigurationError.html +375 -224
  5. package/docs/api/CsvFormatError.html +334 -187
  6. package/docs/api/CsvParsingError.html +259 -132
  7. package/docs/api/CsvToJson.html +1545 -1314
  8. package/docs/api/CsvToJsonAsync.html +1356 -1148
  9. package/docs/api/FileOperationError.html +213 -101
  10. package/docs/api/FileUtils.html +568 -430
  11. package/docs/api/InputValidationError.html +229 -115
  12. package/docs/api/JsonUtil.html +222 -110
  13. package/docs/api/JsonValidationError.html +197 -87
  14. package/docs/api/StringUtils.html +833 -0
  15. package/docs/api/global.html +1537 -1354
  16. package/docs/api/index.html +114 -26
  17. package/docs/api/index.js.html +137 -31
  18. package/docs/api/scripts/app.min.js +1 -0
  19. package/docs/api/scripts/linenumber.js +10 -9
  20. package/docs/api/scripts/search.js +39 -0
  21. package/docs/api/src_browserApi.js.html +120 -29
  22. package/docs/api/src_csvToJson.js.html +119 -28
  23. package/docs/api/src_csvToJsonAsync.js.html +118 -27
  24. package/docs/api/src_util_errors.js.html +126 -28
  25. package/docs/api/src_util_fileUtils.js.html +117 -26
  26. package/docs/api/src_util_jsonUtils.js.html +117 -26
  27. package/docs/api/src_util_stringUtils.js.html +121 -27
  28. package/docs/api/styles/app.min.css +1 -0
  29. package/docs/api/styles/iframe.css +13 -0
  30. package/docs/api/styles/reset.css +44 -0
  31. package/eslint.config.js +115 -0
  32. package/index.js +21 -5
  33. package/jsdoc.json +29 -4
  34. package/package.json +5 -3
  35. package/src/browserApi.js +4 -3
  36. package/src/csvToJson.js +3 -2
  37. package/src/csvToJsonAsync.js +2 -1
  38. package/src/util/errors.js +10 -2
  39. package/src/util/fileUtils.js +1 -0
  40. package/src/util/jsonUtils.js +1 -0
  41. package/src/util/stringUtils.js +5 -1
  42. package/.eslintignore +0 -3
  43. package/.eslintrc.json +0 -48
  44. package/docs/api/fonts/OpenSans-Bold-webfont.eot +0 -0
  45. package/docs/api/fonts/OpenSans-Bold-webfont.svg +0 -1830
  46. package/docs/api/fonts/OpenSans-Bold-webfont.woff +0 -0
  47. package/docs/api/fonts/OpenSans-BoldItalic-webfont.eot +0 -0
  48. package/docs/api/fonts/OpenSans-BoldItalic-webfont.svg +0 -1830
  49. package/docs/api/fonts/OpenSans-BoldItalic-webfont.woff +0 -0
  50. package/docs/api/fonts/OpenSans-Italic-webfont.eot +0 -0
  51. package/docs/api/fonts/OpenSans-Italic-webfont.svg +0 -1830
  52. package/docs/api/fonts/OpenSans-Italic-webfont.woff +0 -0
  53. package/docs/api/fonts/OpenSans-Light-webfont.eot +0 -0
  54. package/docs/api/fonts/OpenSans-Light-webfont.svg +0 -1831
  55. package/docs/api/fonts/OpenSans-Light-webfont.woff +0 -0
  56. package/docs/api/fonts/OpenSans-LightItalic-webfont.eot +0 -0
  57. package/docs/api/fonts/OpenSans-LightItalic-webfont.svg +0 -1835
  58. package/docs/api/fonts/OpenSans-LightItalic-webfont.woff +0 -0
  59. package/docs/api/fonts/OpenSans-Regular-webfont.eot +0 -0
  60. package/docs/api/fonts/OpenSans-Regular-webfont.svg +0 -1831
  61. package/docs/api/fonts/OpenSans-Regular-webfont.woff +0 -0
  62. package/docs/api/scripts/prettify/Apache-License-2.0.txt +0 -202
  63. package/docs/api/scripts/prettify/lang-css.js +0 -2
  64. package/docs/api/scripts/prettify/prettify.js +0 -28
  65. package/docs/api/styles/jsdoc-default.css +0 -358
@@ -1,26 +1,107 @@
1
1
  <!DOCTYPE html>
2
2
  <html lang="en">
3
+
3
4
  <head>
4
- <meta charset="utf-8">
5
- <title>JSDoc: Class: CsvFormatError</title>
6
-
7
- <script src="scripts/prettify/prettify.js"> </script>
8
- <script src="scripts/prettify/lang-css.js"> </script>
9
- <!--[if lt IE 9]>
10
- <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
11
- <![endif]-->
12
- <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
13
- <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
5
+
6
+ <meta charset="utf-8">
7
+ <meta name="viewport" content="width=device-width, initial-scale=1">
8
+ <title> CsvFormatError</title>
9
+
10
+ <script src="https://cdn.jsdelivr.net/gh/google/code-prettify@master/loader/run_prettify.js"></script>
11
+ <script src="https://unpkg.com/@babel/standalone/babel.min.js"></script>
12
+ <script src="./build/entry.js"></script>
13
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
14
+ <!--[if lt IE 9]>
15
+ <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
16
+ <![endif]-->
17
+ <link href="https://fonts.googleapis.com/css?family=Roboto:100,400,700|Inconsolata,700" rel="stylesheet">
18
+ <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css" integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/" crossorigin="anonymous">
19
+ <link type="text/css" rel="stylesheet" href="https://jmblog.github.io/color-themes-for-google-code-prettify/themes/tomorrow-night.min.css">
20
+ <link type="text/css" rel="stylesheet" href="styles/app.min.css">
21
+ <link type="text/css" rel="stylesheet" href="styles/iframe.css">
22
+ <link type="text/css" rel="stylesheet" href="./node_modules/better-docs/css/better-docs.css">
23
+ <script async defer src="https://buttons.github.io/buttons.js"></script>
24
+
25
+
14
26
  </head>
15
27
 
16
- <body>
17
-
18
- <div id="main">
19
28
 
20
- <h1 class="page-title">Class: CsvFormatError</h1>
21
29
 
30
+ <body class="layout small-header">
31
+ <div id="stickyNavbarOverlay"></div>
22
32
 
23
33
 
34
+ <div class="top-nav">
35
+ <div class="inner">
36
+ <a id="hamburger" role="button" class="navbar-burger" aria-label="menu" aria-expanded="false">
37
+ <span aria-hidden="true"></span>
38
+ <span aria-hidden="true"></span>
39
+ <span aria-hidden="true"></span>
40
+ </a>
41
+ <div class="logo">
42
+
43
+ <a class="image" href="index.html">
44
+ <img src="https://raw.githubusercontent.com/iuccio/CSVtoJSON/master/CSVtoJSON.png" alt="logo">
45
+ </a>
46
+
47
+
48
+ <a href="index.html">
49
+ <h1 class="navbar-item">Convert CSV to JSON</h1>
50
+ </a>
51
+
52
+ </div>
53
+ <div class="menu">
54
+
55
+ <div class="navigation">
56
+ <a
57
+ href="index.html"
58
+ class="link"
59
+ >
60
+ Documentation
61
+ </a>
62
+
63
+
64
+
65
+ <a
66
+ class="link user-link "
67
+ href="https://github.com/iuccio/CSVtoJSON"
68
+ >
69
+ GitHub
70
+ </a>
71
+
72
+ <a
73
+ class="link user-link "
74
+ href="https://www.npmjs.com/package/convert-csv-to-json"
75
+ >
76
+ NPM
77
+ </a>
78
+
79
+
80
+
81
+ </div>
82
+ </div>
83
+ </div>
84
+ </div>
85
+ <div id="main">
86
+ <div
87
+ class="sidebar "
88
+ id="sidebarNav"
89
+ >
90
+
91
+ <nav>
92
+
93
+ <h2><a href="index.html">Documentation</a></h2><div class="category"></div><div class="category"><h2>1-Core API</h2><h3>Global</h3><ul><li><a href="global.html#asciiEncoding">asciiEncoding</a></li><li><a href="global.html#base64Encoding">base64Encoding</a></li><li><a href="global.html#csvStringToJson">csvStringToJson</a></li><li><a href="global.html#csvStringToJsonStringified">csvStringToJsonStringified</a></li><li><a href="global.html#csvToJsonAsync">csvToJsonAsync</a></li><li><a href="global.html#customEncoding">customEncoding</a></li><li><a href="global.html#fieldDelimiter">fieldDelimiter</a></li><li><a href="global.html#formatValueByType">formatValueByType</a></li><li><a href="global.html#generateJsonFileFromCsv">generateJsonFileFromCsv</a></li><li><a href="global.html#getJsonFromCsv">getJsonFromCsv</a></li><li><a href="global.html#hexEncoding">hexEncoding</a></li><li><a href="global.html#indexHeader">indexHeader</a></li><li><a href="global.html#latin1Encoding">latin1Encoding</a></li><li><a href="global.html#mapRows">mapRows</a></li><li><a href="global.html#parseSubArray">parseSubArray</a></li><li><a href="global.html#supportQuotedField">supportQuotedField</a></li><li><a href="global.html#trimHeaderFieldWhiteSpace">trimHeaderFieldWhiteSpace</a></li><li><a href="global.html#ucs2Encoding">ucs2Encoding</a></li><li><a href="global.html#utf16leEncoding">utf16leEncoding</a></li><li><a href="global.html#utf8Encoding">utf8Encoding</a></li></ul></div><div class="category"><h2>2-Sync</h2><h3>Classes</h3><ul><li><a href="CsvToJson.html">CsvToJson</a></li></ul></div><div class="category"><h2>3-Async</h2><h3>Classes</h3><ul><li><a href="CsvToJsonAsync.html">CsvToJsonAsync</a></li></ul></div><div class="category"><h2>4-Browser</h2><h3>Classes</h3><ul><li><a href="BrowserApi.html">BrowserApi</a></li></ul></div><div class="category"><h2>Error Classes</h2><h3>Classes</h3><ul><li><a href="BrowserApiError.html">BrowserApiError</a></li><li><a href="ConfigurationError.html">ConfigurationError</a></li><li><a href="CsvFormatError.html">CsvFormatError</a></li><li><a href="CsvParsingError.html">CsvParsingError</a></li><li><a href="FileOperationError.html">FileOperationError</a></li><li><a href="InputValidationError.html">InputValidationError</a></li><li><a href="JsonValidationError.html">JsonValidationError</a></li></ul></div><div class="category"><h2>Utilities</h2><h3>Classes</h3><ul><li><a href="FileUtils.html">FileUtils</a></li><li><a href="JsonUtil.html">JsonUtil</a></li><li><a href="StringUtils.html">StringUtils</a></li></ul></div>
94
+
95
+ </nav>
96
+ </div>
97
+ <div class="core" id="main-content-wrapper">
98
+ <div class="content">
99
+ <header class="page-title">
100
+ <p>Class</p>
101
+ <h1>CsvFormatError</h1>
102
+ </header>
103
+
104
+
24
105
 
25
106
 
26
107
 
@@ -40,25 +121,36 @@ Thrown when CSV format is invalid or malformed</p></div>
40
121
  <div class="container-overview">
41
122
 
42
123
 
124
+ <div class='vertical-section'>
125
+ <div class="members">
126
+ <div class="member">
127
+ <div class=name>
128
+ <span class="tag">Constructor</span>
129
+ </div>
130
+
131
+
43
132
 
44
133
 
45
- <h2>Constructor</h2>
134
+ <h4 class="name" id="CsvFormatError">
135
+ <a class="href-link" href="#CsvFormatError">#</a>
136
+
137
+ <span class="code-name">
138
+
139
+ new CsvFormatError<span class="signature">(message, context)</span><span class="type-signature"></span>
140
+
141
+ </span>
142
+ </h4>
46
143
 
47
144
 
48
145
 
49
- <h4 class="name" id="CsvFormatError"><span class="type-signature"></span>new CsvFormatError<span class="signature">(message, context)</span><span class="type-signature"></span></h4>
50
146
 
51
-
147
+ <div class="description">
148
+ <p>Create a CSV format error</p>
149
+ </div>
52
150
 
53
151
 
54
152
 
55
153
 
56
- <div class="description">
57
- <p>Create a CSV format error</p>
58
- </div>
59
-
60
-
61
-
62
154
 
63
155
 
64
156
 
@@ -67,76 +159,80 @@ Thrown when CSV format is invalid or malformed</p></div>
67
159
 
68
160
  <h5>Parameters:</h5>
69
161
 
162
+ <div class="table-container">
163
+ <table class="params table">
164
+ <thead>
165
+ <tr>
166
+
167
+ <th>Name</th>
168
+
70
169
 
71
- <table class="params">
72
- <thead>
73
- <tr>
74
-
75
- <th>Name</th>
76
-
77
-
78
- <th>Type</th>
170
+ <th>Type</th>
79
171
 
80
-
172
+
81
173
 
82
-
174
+
83
175
 
84
- <th class="last">Description</th>
85
- </tr>
86
- </thead>
176
+ <th class="last">Description</th>
177
+ </tr>
178
+ </thead>
87
179
 
88
- <tbody>
89
-
180
+ <tbody>
181
+
90
182
 
91
- <tr>
92
-
93
- <td class="name"><code>message</code></td>
94
183
 
184
+ <tr class="deep-level-0">
185
+
186
+ <td class="name"><code>message</code></td>
187
+
95
188
 
96
- <td class="type">
97
-
98
-
99
- <span class="param-type">string</span>
189
+ <td class="type">
190
+
191
+
192
+ <code class="param-type">string</code>
100
193
 
101
194
 
102
-
103
- </td>
195
+
196
+ </td>
104
197
 
105
-
198
+
106
199
 
107
-
200
+
108
201
 
109
- <td class="description last"><p>Error message</p></td>
110
- </tr>
202
+ <td class="description last"><p>Error message</p></td>
203
+ </tr>
111
204
 
112
-
113
205
 
114
- <tr>
115
-
116
- <td class="name"><code>context</code></td>
117
-
206
+
118
207
 
119
- <td class="type">
120
208
 
121
-
122
- <span class="param-type">object</span>
209
+ <tr class="deep-level-0">
210
+
211
+ <td class="name"><code>context</code></td>
212
+
123
213
 
214
+ <td class="type">
215
+
216
+
217
+ <code class="param-type">object</code>
124
218
 
125
-
126
- </td>
127
219
 
128
-
220
+
221
+ </td>
129
222
 
130
-
223
+
131
224
 
132
- <td class="description last"><p>Additional context information (optional)</p></td>
133
- </tr>
225
+
134
226
 
135
-
136
- </tbody>
137
- </table>
227
+ <td class="description last"><p>Additional context information (optional)</p></td>
228
+ </tr>
138
229
 
139
230
 
231
+
232
+ </tbody>
233
+ </table>
234
+ </div>
235
+
140
236
 
141
237
 
142
238
 
@@ -166,18 +262,19 @@ Thrown when CSV format is invalid or malformed</p></div>
166
262
 
167
263
 
168
264
 
169
-
170
-
171
- <dt class="tag-source">Source:</dt>
172
- <dd class="tag-source"><ul class="dummy"><li>
173
- <a href="src_util_errors.js.html">src/util/errors.js</a>, <a href="src_util_errors.js.html#line145">line 145</a>
174
- </li></ul></dd>
175
265
 
176
266
 
177
267
 
178
268
 
179
269
 
180
270
 
271
+
272
+ <p class="tag-source">
273
+ <a href="src_util_errors.js.html" class="button">View Source</a>
274
+ <span>
275
+ <a href="src_util_errors.js.html">src/util/errors.js</a>, <a href="src_util_errors.js.html#line150">line 150</a>
276
+ </span>
277
+ </p>
181
278
 
182
279
  </dl>
183
280
 
@@ -200,11 +297,15 @@ Thrown when CSV format is invalid or malformed</p></div>
200
297
 
201
298
 
202
299
 
300
+
301
+
302
+ </div>
303
+ </div>
304
+ </div>
305
+
203
306
 
204
307
  </div>
205
-
206
308
 
207
-
208
309
 
209
310
 
210
311
 
@@ -218,25 +319,38 @@ Thrown when CSV format is invalid or malformed</p></div>
218
319
 
219
320
 
220
321
 
221
- <h3 class="subsection-title">Methods</h3>
222
322
 
223
-
323
+
324
+ <div class='vertical-section'>
325
+ <h1>Methods</h1>
326
+ <div class="members">
224
327
 
328
+ <div class="member">
225
329
 
226
-
227
330
 
228
331
 
229
- <h4 class="name" id=".mismatchedQuotes"><span class="type-signature">(static) </span>mismatchedQuotes<span class="signature">(location)</span><span class="type-signature"> &rarr; {<a href="CsvFormatError.html">CsvFormatError</a>}</span></h4>
332
+ <h4 class="name" id=".mismatchedQuotes">
333
+ <a class="href-link" href="#.mismatchedQuotes">#</a>
334
+
335
+
336
+ <span class='tag'>static</span>
337
+
338
+
339
+ <span class="code-name">
340
+
341
+ mismatchedQuotes<span class="signature">(location)</span><span class="type-signature"> &rarr; {<a href="CsvFormatError.html">CsvFormatError</a>}</span>
342
+
343
+ </span>
344
+ </h4>
230
345
 
231
346
 
232
347
 
233
-
234
-
235
-
236
- <div class="description">
237
- <p>Create error for mismatched quotes in CSV
348
+
349
+ <div class="description">
350
+ <p>Create error for mismatched quotes in CSV
238
351
  Occurs when quoted fields are not properly closed</p>
239
- </div>
352
+ </div>
353
+
240
354
 
241
355
 
242
356
 
@@ -248,60 +362,62 @@ Occurs when quoted fields are not properly closed</p>
248
362
 
249
363
  <h5>Parameters:</h5>
250
364
 
365
+ <div class="table-container">
366
+ <table class="params table">
367
+ <thead>
368
+ <tr>
369
+
370
+ <th>Name</th>
371
+
251
372
 
252
- <table class="params">
253
- <thead>
254
- <tr>
255
-
256
- <th>Name</th>
257
-
258
-
259
- <th>Type</th>
373
+ <th>Type</th>
260
374
 
261
-
375
+
262
376
 
263
-
264
- <th>Default</th>
265
-
377
+
378
+ <th>Default</th>
379
+
266
380
 
267
- <th class="last">Description</th>
268
- </tr>
269
- </thead>
381
+ <th class="last">Description</th>
382
+ </tr>
383
+ </thead>
270
384
 
271
- <tbody>
272
-
385
+ <tbody>
386
+
273
387
 
274
- <tr>
275
-
276
- <td class="name"><code>location</code></td>
277
388
 
389
+ <tr class="deep-level-0">
390
+
391
+ <td class="name"><code>location</code></td>
392
+
278
393
 
279
- <td class="type">
280
-
281
-
282
- <span class="param-type">string</span>
394
+ <td class="type">
395
+
396
+
397
+ <code class="param-type">string</code>
283
398
 
284
399
 
285
-
286
- </td>
400
+
401
+ </td>
287
402
 
288
-
403
+
289
404
 
290
-
291
- <td class="default">
292
-
293
- CSV
294
-
295
- </td>
296
-
405
+
406
+ <td class="default">
407
+
408
+ CSV
409
+
410
+ </td>
411
+
297
412
 
298
- <td class="description last"><p>Where the error occurred (default: 'CSV')</p></td>
299
- </tr>
413
+ <td class="description last"><p>Where the error occurred (default: 'CSV')</p></td>
414
+ </tr>
300
415
 
301
-
302
- </tbody>
303
- </table>
304
416
 
417
+
418
+ </tbody>
419
+ </table>
420
+ </div>
305
421
 
306
422
 
307
423
 
@@ -332,18 +448,19 @@ Occurs when quoted fields are not properly closed</p>
332
448
 
333
449
 
334
450
 
335
-
336
-
337
- <dt class="tag-source">Source:</dt>
338
- <dd class="tag-source"><ul class="dummy"><li>
339
- <a href="src_util_errors.js.html">src/util/errors.js</a>, <a href="src_util_errors.js.html#line181">line 181</a>
340
- </li></ul></dd>
341
451
 
342
452
 
343
453
 
344
454
 
345
455
 
346
456
 
457
+
458
+ <p class="tag-source">
459
+ <a href="src_util_errors.js.html" class="button">View Source</a>
460
+ <span>
461
+ <a href="src_util_errors.js.html">src/util/errors.js</a>, <a href="src_util_errors.js.html#line186">line 186</a>
462
+ </span>
463
+ </p>
347
464
 
348
465
  </dl>
349
466
 
@@ -361,50 +478,65 @@ Occurs when quoted fields are not properly closed</p>
361
478
 
362
479
 
363
480
 
364
- <h5>Returns:</h5>
365
481
 
366
-
367
- <div class="param-desc">
368
- <p>Configured error instance</p>
369
- </div>
370
482
 
371
483
 
484
+ <div class='columns method-parameter'>
485
+ <div class="column is-2"><label>Returns:</label></div>
486
+ <div class="column is-10">
487
+
488
+
372
489
 
373
- <dl>
374
- <dt>
375
- Type
376
- </dt>
377
- <dd>
490
+ <div class="columns">
491
+
492
+ <div class='param-desc column is-7'><p>Configured error instance</p></div>
493
+
494
+
495
+ <div class='column is-5 has-text-left'>
496
+ <label>Type: </label>
378
497
 
379
- <span class="param-type"><a href="CsvFormatError.html">CsvFormatError</a></span>
380
-
498
+ <code class="param-type"><a href="CsvFormatError.html">CsvFormatError</a></code>
381
499
 
382
- </dd>
383
- </dl>
384
500
 
501
+ </div>
385
502
 
503
+ </div>
386
504
 
505
+
506
+ </div>
507
+ </div>
387
508
 
388
509
 
389
510
 
390
511
 
391
-
512
+ </div>
392
513
 
514
+ <div class="member">
393
515
 
394
-
395
516
 
396
517
 
397
- <h4 class="name" id=".missingHeader"><span class="type-signature">(static) </span>missingHeader<span class="signature">()</span><span class="type-signature"> &rarr; {<a href="CsvFormatError.html">CsvFormatError</a>}</span></h4>
518
+ <h4 class="name" id=".missingHeader">
519
+ <a class="href-link" href="#.missingHeader">#</a>
520
+
521
+
522
+ <span class='tag'>static</span>
523
+
524
+
525
+ <span class="code-name">
526
+
527
+ missingHeader<span class="signature">()</span><span class="type-signature"> &rarr; {<a href="CsvFormatError.html">CsvFormatError</a>}</span>
528
+
529
+ </span>
530
+ </h4>
398
531
 
399
532
 
400
533
 
401
-
402
-
403
-
404
- <div class="description">
405
- <p>Create error for missing CSV header row
534
+
535
+ <div class="description">
536
+ <p>Create error for missing CSV header row
406
537
  Occurs when no valid header row is found in CSV</p>
407
- </div>
538
+ </div>
539
+
408
540
 
409
541
 
410
542
 
@@ -443,18 +575,19 @@ Occurs when no valid header row is found in CSV</p>
443
575
 
444
576
 
445
577
 
446
-
447
-
448
- <dt class="tag-source">Source:</dt>
449
- <dd class="tag-source"><ul class="dummy"><li>
450
- <a href="src_util_errors.js.html">src/util/errors.js</a>, <a href="src_util_errors.js.html#line162">line 162</a>
451
- </li></ul></dd>
452
578
 
453
579
 
454
580
 
455
581
 
456
582
 
457
583
 
584
+
585
+ <p class="tag-source">
586
+ <a href="src_util_errors.js.html" class="button">View Source</a>
587
+ <span>
588
+ <a href="src_util_errors.js.html">src/util/errors.js</a>, <a href="src_util_errors.js.html#line167">line 167</a>
589
+ </span>
590
+ </p>
458
591
 
459
592
  </dl>
460
593
 
@@ -472,34 +605,41 @@ Occurs when no valid header row is found in CSV</p>
472
605
 
473
606
 
474
607
 
475
- <h5>Returns:</h5>
476
608
 
477
-
478
- <div class="param-desc">
479
- <p>Configured error instance</p>
480
- </div>
481
609
 
482
610
 
611
+ <div class='columns method-parameter'>
612
+ <div class="column is-2"><label>Returns:</label></div>
613
+ <div class="column is-10">
614
+
615
+
483
616
 
484
- <dl>
485
- <dt>
486
- Type
487
- </dt>
488
- <dd>
617
+ <div class="columns">
618
+
619
+ <div class='param-desc column is-7'><p>Configured error instance</p></div>
620
+
621
+
622
+ <div class='column is-5 has-text-left'>
623
+ <label>Type: </label>
489
624
 
490
- <span class="param-type"><a href="CsvFormatError.html">CsvFormatError</a></span>
491
-
625
+ <code class="param-type"><a href="CsvFormatError.html">CsvFormatError</a></code>
492
626
 
493
- </dd>
494
- </dl>
495
627
 
628
+ </div>
496
629
 
630
+ </div>
497
631
 
632
+
633
+ </div>
634
+ </div>
498
635
 
499
636
 
500
637
 
501
638
 
502
-
639
+ </div>
640
+
641
+ </div>
642
+ </div>
503
643
 
504
644
 
505
645
 
@@ -512,19 +652,26 @@ Occurs when no valid header row is found in CSV</p>
512
652
 
513
653
 
514
654
 
515
- </div>
516
-
517
- <nav>
518
- <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="BrowserApi.html">BrowserApi</a></li><li><a href="BrowserApiError.html">BrowserApiError</a></li><li><a href="ConfigurationError.html">ConfigurationError</a></li><li><a href="CsvFormatError.html">CsvFormatError</a></li><li><a href="CsvParsingError.html">CsvParsingError</a></li><li><a href="CsvToJson.html">CsvToJson</a></li><li><a href="CsvToJsonAsync.html">CsvToJsonAsync</a></li><li><a href="FileOperationError.html">FileOperationError</a></li><li><a href="FileUtils.html">FileUtils</a></li><li><a href="InputValidationError.html">InputValidationError</a></li><li><a href="JsonUtil.html">JsonUtil</a></li><li><a href="JsonValidationError.html">JsonValidationError</a></li></ul><h3>Global</h3><ul><li><a href="global.html#asciiEncoding">asciiEncoding</a></li><li><a href="global.html#base64Encoding">base64Encoding</a></li><li><a href="global.html#browser">browser</a></li><li><a href="global.html#csvStringToJson">csvStringToJson</a></li><li><a href="global.html#csvStringToJsonStringified">csvStringToJsonStringified</a></li><li><a href="global.html#csvToJsonAsync">csvToJsonAsync</a></li><li><a href="global.html#customEncoding">customEncoding</a></li><li><a href="global.html#fieldDelimiter">fieldDelimiter</a></li><li><a href="global.html#formatValueByType">formatValueByType</a></li><li><a href="global.html#generateJsonFileFromCsv">generateJsonFileFromCsv</a></li><li><a href="global.html#getJsonFromCsv">getJsonFromCsv</a></li><li><a href="global.html#hexEncoding">hexEncoding</a></li><li><a href="global.html#indexHeader">indexHeader</a></li><li><a href="global.html#latin1Encoding">latin1Encoding</a></li><li><a href="global.html#mapRows">mapRows</a></li><li><a href="global.html#parseSubArray">parseSubArray</a></li><li><a href="global.html#supportQuotedField">supportQuotedField</a></li><li><a href="global.html#trimHeaderFieldWhiteSpace">trimHeaderFieldWhiteSpace</a></li><li><a href="global.html#ucs2Encoding">ucs2Encoding</a></li><li><a href="global.html#utf16leEncoding">utf16leEncoding</a></li><li><a href="global.html#utf8Encoding">utf8Encoding</a></li></ul>
519
- </nav>
520
-
521
- <br class="clear">
655
+ </div>
656
+
657
+ <footer class="footer">
658
+ <div class="content has-text-centered">
659
+ <p>Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a></p>
660
+ <p class="sidebar-created-by">
661
+ <a href="https://github.com/SoftwareBrothers/better-docs" target="_blank">BetterDocs theme</a> provided with <i class="fas fa-heart"></i> by
662
+ <a href="http://softwarebrothers.co" target="_blank">SoftwareBrothers - JavaScript Development Agency</a>
663
+ </p>
664
+ </div>
665
+ </footer>
666
+
667
+ </div>
668
+ <div id="side-nav" class="side-nav">
669
+ </div>
670
+ </div>
671
+ <script src="scripts/app.min.js"></script>
672
+ <script>PR.prettyPrint();</script>
673
+ <script src="scripts/linenumber.js"> </script>
522
674
 
523
- <footer>
524
- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.5</a> on Fri Mar 20 2026 16:08:52 GMT+0000 (Coordinated Universal Time)
525
- </footer>
526
675
 
527
- <script> prettyPrint(); </script>
528
- <script src="scripts/linenumber.js"> </script>
529
676
  </body>
530
677
  </html>