yojson VS bs-json

Compare yojson vs bs-json and see what are their differences.

yojson

Low-level JSON parsing and pretty-printing library for OCaml (by ocaml-community)

bs-json

Compositional JSON encode/decode library for BuckleScript (by glennsl)
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
InfluxDB high-performance time series database
Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
influxdata.com
featured
yojson bs-json
2 2
341 274
2.1% -
6.3 0.0
3 days ago over 1 year ago
OCaml OCaml
BSD 3-clause "New" or "Revised" License GNU Lesser General Public License v3.0 only
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

yojson

Posts with mentions or reviews of yojson. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2020-10-12.

bs-json

Posts with mentions or reviews of bs-json. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-10-07.
  • Zod: TypeScript-first schema validation with static type inference
    17 projects | news.ycombinator.com | 7 Oct 2024
    Coming from a ReasonML / OCaml codebase (frontend react), I'm seeing a lot to love with the pattern matching and sum types. Zod is already one of my favorites (coming from https://github.com/glennsl/bs-json).

    Is 'retry / observability / error handling" something that comes from Effect?

  • ReScript JSON Typed Strongly
    5 projects | dev.to | 2 Nov 2021
    As I told already, you might use other tools to create the codecs layer. Take bs-json if it feels better. Or even force Js.Json.t to DTO conversion with Obj.magic if you know what you do.

What are some alternatives?

When comparing yojson and bs-json you can also consider the following projects:

query-json - Faster, simpler and more portable implementation of `jq` in Reason

bs-mocha

jsoo-react - js_of_ocaml bindings for ReactJS. Based on ReasonReact.

coq-serapi - Coq Protocol Playground with Se(xp)rialization of Internal Structures.

bs-emotion - BuckleScript bindings to Emotion

rescript-apollo-client - ReScript bindings for the Apollo Client ecosystem

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
InfluxDB high-performance time series database
Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
influxdata.com
featured

Did you know that OCaml is
the 41st most popular programming language
based on number of references?