FLUTTER ECOSYSTEM

simple_json_persistence

Flutter data storage based on simple json files with support for multiple storage instances, streams, etc.

Latest version
2.2.0
30-day downloads
191
Likes
5
Pub points
150

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

A Flutter package for simple JSON-based data persistence, enabling storage of structured data in JSON files across multiple platforms. It supports multiple independent storage instances, real-time data streams, and seamless integration with Dart's async model. Ideal for apps needing lightweight, file-based storage without complex database overhead. The package is designed for ease of use, with minimal setup and clear APIs for reading, writing, and listening to changes. It’s particularly useful for small to medium-sized applications where full database solutions are unnecessary.

Use cases
  • Storing user preferences
  • Saving app state between sessions
  • Managing local configuration files
  • Persisting small datasets
  • Enabling offline data access
Key features
  • Multiple storage instances
  • Real-time data streaming
  • Cross-platform support
  • Simple API
  • File-based JSON storage
Suitable for
  • Lightweight data storage needs
  • Prototyping and small apps
  • Offline-first applications
  • Apps avoiding complex databases
Considerations
  • Not suitable for large datasets
  • Limited query capabilities
  • No built-in encryption
  • Performance may degrade with very large files
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add simple_json_persistence

Categories

Dependencies

Dependency list 8 items

Source repository

Related projects