json_repair_flutter 2.0.0
json_repair_flutter: ^2.0.0 copied to clipboard
A Flutter package to repair malformed JSON strings, similar to Python's json_repair
Changelog #
All notable changes to the json_repair_flutter package will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.0.0 - 2025-08-08 #
Initial Release #
- Core JSON Repair Engine: First stable release of the
JsonRepairer, providing a robust foundation for fixing malformed JSON. - Comprehensive Repair Strategies: Shipped with a complete set of default strategies to handle the most common JSON errors:
FixUnquotedKeysStrategyFixSingleQuotesStrategyRemoveTrailingCommasStrategyAddMissingValueQuotesStrategyFixUnclosedStructuresStrategyRemoveCommentsStrategy(for both line and block comments)FixEscapedQuotesStrategyFixMultilineStringsStrategy
- Convenience Functions: Added top-level
repairJsonandrepairJsonAndDecodefunctions for easy, one-line usage in any Dart or Flutter project. - Extensible API: Included
JsonRepairer.withStrategiesto allow developers to create custom repair pipelines or add new strategies for handling unique edge cases. - Flutter Example App: Provided a sample Flutter application in the
exampledirectory to demonstrate real-world usage and integration. - Documentation: Created comprehensive documentation, including a detailed README, API reference, and inline code comments to guide developers.