--- id: wtforms-json version: "0.3.5" license: BSD license_treatment: permissive maintenance: abandoned --- # WTForms-JSON — Adds smart json support for WTForms. Useful for when using WTForms with RESTful APIs. License: permissive · Maintenance: abandoned · Downloads: 381.2K/mo ## What it is and what it does WTForms-JSON bridges WTForms validation and JSON input by providing methods to populate and validate forms directly from JSON data. It's designed for REST API developers who want to reuse WTForms' declarative validation logic without parsing JSON manually into form fields. The package has no runtime dependencies beyond WTForms itself, making it lightweight to add to an existing project. However, it has been abandoned since 2022-04-16 with no maintenance activity, meaning bugs, compatibility issues with newer Python or WTForms versions, and security concerns will not be addressed by the original author. Use it for: - Validate incoming JSON payloads in REST API endpoints using existing WTForms form definitions. - Populate WTForms fields directly from JSON request bodies without manual field-by-field assignment. - Reuse server-side form validation logic for API requests in addition to traditional HTML form submissions. - Enforce consistent validation rules across both web forms and JSON API clients using a single form schema. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Adds JSON parsing and validation support to WTForms, enabling form validation against JSON data in RESTful API contexts. No. The package is abandoned and has not been maintained since 2022-04-16. While it carries no known vulnerabilities and uses a permissive license, the lack of active maintenance means compatibility issues with modern Python versions and WTForms releases are likely unresolved. For new projects, consider maintained alternatives or implement JSON validation directly. ## Install pip install wtforms-json uv add wtforms-json poetry add wtforms-json ## Installing WTForms-JSON Before you install: High install friction with no runtime dependencies. The package is abandoned—last release was 2022-04-16 with no maintenance activity since then. License in practice: BSD license (permissive) places no restrictions on use, modification, or distribution. Quickstart: pip install WTForms-JSON import wtforms_json from wtforms import Form, StringField wtforms_json.init() form = MyForm.from_json(json_data) Requires WTForms to be installed separately; no version constraint is specified, so compatibility with newer WTForms releases is uncertain. Verify before relying: - Whether the package works reliably with current WTForms versions and modern Python releases despite abandonment. - Whether JSON parsing behavior handles edge cases or malformed input gracefully. - Active community forks or maintained alternatives that may have superseded this package. ## Package facts - License: BSD (permissive) - Python support: unspecified - Install friction: high - Maintenance: abandoned - Downloads: 381.2K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags wtforms json validation, json form validation, rest api form validation, wtforms rest api, json to wtforms, api request validation, form validation from json, rest-api, form-validation, abandoned [View on SkillFed](https://skillfed.io/packages/wtforms-json) · [View on PyPI](https://pypi.org/project/wtforms-json/)