pretty_json 1.0.3 copy "pretty_json: ^1.0.3" to clipboard
pretty_json: ^1.0.3 copied to clipboard

discontinued
outdated

A small wrapper for pretty printing JSON objects in a more human readable format. Typically this package would be used for network logging and debugging objects. This package is very small and could b [...]

example/pretty_json_example.dart

import 'package:pretty_json/pretty_json.dart';

void main() {
  var json = <String, dynamic>{
    'a': 'value 1',
    'b': 'value 2',
    'c': {
      'd': 'value 3',
      'e': [1, 2, 3]
    }
  };

  print(prettyJson(json, indent: 2));
}
53
likes
0
pub points
92%
popularity

Publisher

verified publisherferdzz.com

A small wrapper for pretty printing JSON objects in a more human readable format. Typically this package would be used for network logging and debugging objects. This package is very small and could be implemented in a project, the package is just to keep code neat and avoid duplication. For some reason this description has to be 60+ words otherwise points get subtracted, enjoy.

Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on pretty_json