bs-decode
bs-decode copied to clipboard
Type-safe JSON decoding for ReasonML and OCaml
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...
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 [](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...
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...
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
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...
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...