# marioizquierdo/jquery.serializeJSON

Serialize an HTML Form to a JavaScript Object, supporting nested attributes and arrays.

Repository: https://github.com/marioizquierdo/jquery.serializeJSON
Canonical: https://ross.abutalabs.com/products/jqueryserializejson
Language: JavaScript
License: MIT
License Family: permissive
Topics: unchecked-checkboxes, javascript, parsed-values, nested-keys, jquery, serializejson
Last push: 2024-03-21T00:51:12+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5126, "days_push": 896, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1705, forks 419 (observed 2026-08-28T04:05:24.785835+00:00)

## What it is
A jQuery plugin that adds a .serializeJSON() method to convert HTML form fields into a JavaScript object. It supports nested attributes and arrays using Rails-style bracket naming syntax.

## Use cases
- serialize an html form to a javascript object
- convert form inputs with nested keys into
- handle arrays and nested attributes from form fields
- parse form values with correct types including checkboxes
- submit form data as  to an api
- get unchecked checkbox values in form serialization

## When to choose
- you already use jQuery and need form-to-object serialization
- your form uses Rails-style nested field names like author[name]
- you need typed parsed values and unchecked checkbox handling

## When to avoid
- you are not using jQuery in your project
- you need a framework-agnostic modern form library
- you need reactive form state management rather than one-shot serialization

## Facets
- artifact type: library
- maturity: maintenance
- function: serialization, form-handling
- domain: web-development, frontend
- platform: browser
- tags: jquery-plugin, html-forms, nested-attributes, rails-params-format, nodejs

## Member repositories
- marioizquierdo/jquery.serializeJSON (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:24.785835+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:37:32.263797+00:00, confidence not recorded.
  - readme: https://github.com/marioizquierdo/jquery.serializeJSON (fetched 2026-08-28T04:05:24.785835+00:00, sha d76f9cbef8f7)
- Data as of 2026-08-30T08:39:29.467469+00:00.
