Skip to content
pubscout

json_view

0.4.2, released 3 years ago by laihz.tech

A Flutter widget for previewing and viewing JSON data with lazy loading.

WASM-ready
$ flutter pub add json_view
Source repository

What it does

Provides a widget to display JSON data with type highlighting and lazy loading of large lists and maps to prevent jank. It supports custom styling of colors, arrows, and layout.

AI-written summary of version 0.4.2, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to display and inspect JSON data inside your Flutter app UI
  • You are building a debugging or developer tool that needs to render large JSON payloads

Skip it when

  • You need to generate Dart models or handle complex JSON serialization/deserialization logic

Strengths

  • Lazy loads large lists and maps to maintain good performance
  • Supports customizable themes, colors, and styling
  • Only depends on Flutter

Weaknesses

  • Testing roadmap item is incomplete

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
JsonView(json: data)

Alternatives

Packages that do the same job and could replace json_view.

Works with

Packages commonly used together with json_view: ones it builds on, ones built on it, and its own family.