Searched refs:stripBOM (Results 1 – 12 of 12) sorted by relevance
5 function stripBOM (content) { function14 return JSON.parse(stripBOM(content))
4 return parseJsonWithErrors(stripBOM(content))16 function stripBOM (content) { function
41 if (typeof this.options.stripBOM === 'function')42 this.options.stripBOM();
21 stripBOM?: boolean;
130 if (codec.bomAware && !(options && options.stripBOM === false))
134 function stripBOM(content) { function201 stripBOM, property
92 stripBOM,1128 module.exports = JSONParse(stripBOM(content));
122 * Decoding: BOM is stripped by default, unless overridden by passing `stripBOM: false` in options123 (f.ex. `iconv.decode(buf, enc, {stripBOM: false})`).124 …A callback might also be given as a `stripBOM` parameter - it'll be called if BOM character was ac…133 overridden with `defaultEncoding: 'utf-16be'` option. Strips BOM unless `stripBOM: false`.
32 stripBOM,330 const exports = JSONParse(stripBOM(source));
416 function stripBOM (str) { function423 .then(str => JSON.parse(stripBOM(str)))
56 function stripBOM (content) { function102 data = safeJSON(stripBOM(d))
12687 const parseText = stripBOM(txt);12724 const stripBOM = txt => String(txt).replace(/^\uFEFF/, ''); function12731 return JSON.parse(stripBOM(txt), reviver)