Search packages, repositories and app categories

json_view cover
Package detailsv0.4.2

json_view

A json preview package that has a not bad performance. lazy load json tree node that cause less jank. Support display large list json data like chrome dev tool.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
15.5K
Likes
24
Pub points
150

Install package

flutter pub add json_view

Package Overview

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

json_view is a Flutter package designed to efficiently display JSON data with high performance. It uses lazy loading to render JSON tree nodes on demand, minimizing jank and improving responsiveness—especially when handling large datasets. Inspired by Chrome DevTools, it supports intuitive navigation and visual inspection of complex JSON structures across multiple platforms. The package is ideal for debugging, development tools, or any app requiring interactive JSON visualization.

Use cases

  • Debugging JSON responses
  • Visualizing API payloads
  • Inspecting configuration files
  • Developing data-driven apps
  • Real-time JSON monitoring

Key features

  • Lazy-loaded JSON tree rendering
  • High performance with large datasets
  • Chrome DevTools-like interface
  • Cross-platform support (Android, iOS, Web, macOS, Windows, Linux)
  • Minimal jank during scrolling or expansion

Suitable for

  • Developers building debug tools
  • Apps needing JSON inspection
  • Frontend teams analyzing API data
  • Educational apps demonstrating JSON structure
  • Applications with heavy JSON processing

Considerations

  • May require optimization for extremely deep nested JSON
  • Best results with moderate to large JSON sizes
  • Limited customization for UI styling
  • Not intended for production data editing
  • Performance depends on device capabilities

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

json_view

Pub Version Pub Popularity Pub Points Pub Publisher

A json preview package that has a not bad performance. lazy load json tree node that cause less jank. Support display large list json data like chrome dev tool.

./resources/preview.png

Highlight

  • 👑 json type highlight.
  • 🔆 lazy load large list & map.
  • 🚀 not bad performance.
  • 📦 only depend on flutter.

Usage

  • simple usage
JsonView(json: data)
  • customize style
JsonConfig(
    /// your customize configuration
    data: JsonConfigData(
        animation: true,
        animationDuration: Duration(milliseconds: 300),
        animationCurve: Curves.ease,
        itemPadding: EdgeInsets.only(left: 8),
        color: JsonColorScheme(
            stringColor: Colors.grey,
        ),
        style: JsonStyleScheme(
            arrow: const Icon(Icons.arrow_right),
        )
    ),
    /// any widget will contain jsonView
    child: ...,
)

API reference

pub.dev/documentation

ROADMAP

  • [ ] add TESTS
  • [ ] override ListTile & MapTile didChangeDependencies

Some thing went wrong 🤔

create a new issue & welcome create a pull request

Categories

Source repository

Projects using this package