Home
last modified time | relevance | path

Searched refs:strictNullHandling (Results 1 – 6 of 6) sorted by relevance

/third_party/node/deps/npm/node_modules/qs/lib/
Dstringify.js29 strictNullHandling: false
36 strictNullHandling, argument
52 if (strictNullHandling) {
93 strictNullHandling,
108 strictNullHandling,
133 …var strictNullHandling = typeof options.strictNullHandling === 'boolean' ? options.strictNullHandl…
194 strictNullHandling,
Dparse.js16 strictNullHandling: false property
34 val = options.strictNullHandling ? null : '';
155 …options.strictNullHandling = typeof options.strictNullHandling === 'boolean' ? options.strictNullH…
/third_party/node/deps/npm/node_modules/qs/dist/
Dqs.js50 strictNullHandling: false property
68 val = options.strictNullHandling ? null : '';
189 …options.strictNullHandling = typeof options.strictNullHandling === 'boolean' ? options.strictNullH…
239 strictNullHandling: false
246 strictNullHandling,
262 if (strictNullHandling) {
303 strictNullHandling,
318 strictNullHandling,
343 …var strictNullHandling = typeof options.strictNullHandling === 'boolean' ? options.strictNullHandl…
404 strictNullHandling,
/third_party/node/deps/npm/node_modules/qs/test/
Dstringify.js262 st.equal(qs.stringify({ a: null }, { strictNullHandling: true }), 'a'); property
265 st.equal(qs.stringify({ a: null, b: '' }, { strictNullHandling: true }), 'a&b='); property
268 st.equal(qs.stringify({ a: { b: null } }, { strictNullHandling: true }), 'a%5Bb%5D'); property
269 st.equal(qs.stringify({ a: { b: null } }, { strictNullHandling: false }), 'a%5Bb%5D='); property
300 …st.equal(qs.stringify({ a: { b: undefined, c: null } }, { strictNullHandling: true }), 'a%5Bc%5D'); property
301 …st.equal(qs.stringify({ a: { b: undefined, c: null } }, { strictNullHandling: false }), 'a%5Bc%5D=… property
416 … st.equal(qs.stringify({ a: 'b', c: null }, { strictNullHandling: true, encode: false }), 'a=b&c'); property
582 { encodeValuesOnly: true, strictNullHandling: true } property
Dparse.js16 st.deepEqual(qs.parse('foo', { strictNullHandling: true }), { foo: null }); property
24 … st.deepEqual(qs.parse('foo=bar&baz', { strictNullHandling: true }), { foo: 'bar', baz: null }); property
163 st.deepEqual(qs.parse('{%:%}', { strictNullHandling: true }), { '{%:%}': null }); property
191 qs.parse('a[0]=b&a[1]&a[2]=c&a[19]=', { strictNullHandling: true, arrayLimit: 20 }), property
196 qs.parse('a[]=b&a[]&a[]=c&a[]=', { strictNullHandling: true, arrayLimit: 0 }), property
202 qs.parse('a[0]=b&a[1]=&a[2]=c&a[19]', { strictNullHandling: true, arrayLimit: 20 }), property
207 qs.parse('a[]=b&a[]=&a[]=c&a[]', { strictNullHandling: true, arrayLimit: 0 }), property
242 st.deepEqual(qs.parse('[]&a=b', { strictNullHandling: true }), { 0: null, a: 'b' }); property
/third_party/node/deps/npm/node_modules/qs/
DREADME.md407 To distinguish between `null` values and empty strings use the `strictNullHandling` flag. In the re…
411 var strictNull = qs.stringify({ a: null, b: '' }, { strictNullHandling: true });
415 To parse values without `=` back to `null` use the `strictNullHandling` flag:
418 var parsedStrictNull = qs.parse('a&b=', { strictNullHandling: true });