json_dart 0.1.2 copy "json_dart: ^0.1.2" to clipboard
json_dart: ^0.1.2 copied to clipboard

The well-tested helpers for convenient work with JSON types. It can blur key fields and keep only important fields.

JSON Dart #

Cover - JSON Dart

GitHub License Pub Package Code Size Publisher

Build Status Pull Requests Issues Pub Score

The well-tested helpers for convenient handling of JSON in Dart. It can blur key/passwords and keep only important fields. Feel free to use it in your awesome project.

Android iOS Linux MacOS Web Windows
platform
Dart Flutter
SDK

Share some ❤️ and star repo to support the project.

Usage #

Bluring Key Fields #

print({'api_key': '12345-my-key-value'}.blured());
{api_key: ******************}

Keepeing Significant Fields Only #

const json = <String, dynamic>{
  'null': null,
  'false_bool': false,
  'ok': true,
  'zero_int': 0,
  'positive_zero_double': 0.0,
  'negative_zero_double': -0.0,
  'empty_string': '',
  'empty_list': <int>[],
  'empty_map': <String, dynamic>{},
  'empty_set': <int>{},
};
print(json.jsonWithSignificantFields);
{ "ok": true }

Welcome to Inspiration #

Requests and suggestions are warmly welcome.

Contributions are what make the open-source community such a great place to learn, create, take a new skills, and be inspired.

If this is your first contribution, I'll leave you with some of the best links I've found: they will help you get started or/and become even more efficient.

The package JsonDart is open-source, stable and well-tested. Development happens on GitHub. Feel free to report issues or create a pull-request there.

General questions are best asked on StackOverflow.

And here is a curated list of how you can help:

  • Report parts of the documentation that are unclear.
  • Fix typos/grammar mistakes.
  • Update the documentation or add examples.
  • Report bugs and scenarios that are difficult to implement.
  • Implement new features by making a pull-request (look below).

TODO (perhaps) #

Once you start using the JsonDart, it will become easy to choose the functionality to contribute. But if you already get everything you need from this package but have some free time, let me write here what I have planned:

  • All feautures into README.
  • The types from the package pure_dart_ui.

It's just a habit of mine: writing down ideas that come to mind while working on a project. I confess that I rarely return to these notes. But now, hopefully, even if you don't have an idea yet, the above notes will help you choose the suitable "feature" and become a contributor to the open-source community.

Created with ❤️

0
likes
0
pub points
19%
popularity

Publisher

verified publishersyrokomskyi.com

The well-tested helpers for convenient work with JSON types. It can blur key fields and keep only important fields.

Repository (GitHub)
View/report issues

Topics

#json #helper #converter #serialize #stringify

License

unknown (license)

Dependencies

vector_math

More

Packages that depend on json_dart