ivmjv 0.1.0
ivmjv: ^0.1.0 copied to clipboard

This package is simple tool for validating a string to JSON object respecting [RFC8259](https://tools.ietf.org/html/rfc8259)

ivmJV #

ivmJV is a tool to validte string as JSON object. The tool will respect [RFC8259] but it is not fully tested to complain in full with the standard.

Install #

  dependencies:
    ivmJV: any

Run pub get

Example #

To test a string if it can be a valid JSON object, import the library, create an instance of JsonValidatr class and pass the string as initial parameter.

void main() {
  JsonValidator iv = JsonValidator("{\"amount\": 100.00}");
  print('valid?: ${iv.validate()}');
}
0
likes
90
pub points
0%
popularity

Publisher

ivmanto.com

This package is simple tool for validating a string to JSON object respecting [RFC8259](https://tools.ietf.org/html/rfc8259)

Homepage
Repository (GitHub)
View/report issues

License

LICENSE

Dependencies

meta

More

Packages that depend on ivmjv