1.3.0 • Published 8 years ago

jquery-todictionary v1.3.0

Weekly downloads
27
License
MIT
Repository
github
Last release
8 years ago

jquery-todictionary

Thanks to Robert Koritnik (@litera) for the original implementation here.

Transforms an arbitary JSON object into an array of name-value pairs. This flatter structure works great with the default model binder in ASP.NET, especially when trying to bind complex nested structures.

Install

npm install jquery-todictionary

Usage

$.toDictionary([mandatory]data, [optional]prefix, [optional]includeNulls);