bs-decode icon indicating copy to clipboard operation
bs-decode copied to clipboard

Type-safe JSON decoding for ReasonML and OCaml

Results 37 bs-decode issues
Sort by recently updated
recently updated
newest added

Bumps [semver](https://github.com/npm/node-semver) from 5.7.1 to 5.7.2. Release notes Sourced from semver's releases. v5.7.2 5.7.2 (2023-07-10) Bug Fixes 2f8fd41 #585 better handling of whitespace (#585) (@​joaomoreno, @​lukekarrys) Changelog Sourced from semver's...

dependencies

Bumps [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) from 4.1.3 to 4.2.4. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=fast-xml-parser&package-manager=npm_and_yarn&previous-version=4.1.3&new-version=4.2.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...

dependencies

First things first: - [x] Move all tests out of the "option" and "string nel" -specific test files - [x] Add an "Upgrading from v1" guide to the docs website...

code quality

Now that we have a `null` decoder, we can decode optional values as: ```reason let optional = decoder => alt(null |> map(() => None), decoder |> map(Option.pure)) ``` See #124

code quality

After cleaning up all the deprecated modules and functions (#126), we should be ready to start thoroughly documenting everything that's left in the `rei` interface file. The goal of this...

documentation

While it's probably not a super common use case, it would make sense to add a `throw` function that constructs a decoder that always fails with the given error. This...

One common use case for `bs-decode` is a webserver that decodes the payload of a request. In this case, it would be desirable to send back a `400` response with...