README -> API Index -> Modules Index -> lib.dom.form -> arrayToHash
Source Module: src/lib/dom/form/index.js
Source Location: src/lib/dom/form/collectForm.js:173
arrayToHash(list)Convert tuple list ([key, value]) into object form with repeated keys aggregated as arrays.
list: tuple list.
- Uses
lib.hash.setso dotted keys become nested objects. - First key occurrence stored as scalar.
- Repeat occurrences for same key are promoted to array and appended in encounter order.
Plain object with nested paths and repeat-key arrays.
toJson-> ./toJson.md- Module page -> ../../modules/DOM_FORM.md
- API index -> ../../INDEX.md