ivmjv 0.1.3 copy "ivmjv: ^0.1.3" to clipboard
ivmjv: ^0.1.3 copied to clipboard

outdated

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

ivmJV #

ivmJV is a tool to validate string as JSON object. The tool will respect [RFC8259], but I have not thoroughly tested it 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 JsonValidator class and pass the string to be tested as initial parameter.

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

Publisher

verified publisherivmanto.com

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

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

meta, pedantic

More

Packages that depend on ivmjv