pretty_print_json 1.0.1

SDKdartflutter
Platformandroidioswindowslinuxmacosweb

Prints a prettified json string or object.

Prints a prettified json string or object

Getting started

import 'package:pretty_print_json/pretty_print_json.dart';

Usage

prettyPrintJson('{"a": 1, "b": 2}');

prettyPrintJson({
  "a": 1,
  "b": [2, 3]
});