Need advice about which tool to choose?Ask the StackShare community!
Add tool
json vs bson: What are the differences?
Developers describe json as "This is a JSON implementation as a Ruby extension in C". This is a JSON implementation as a Ruby extension in C. On the other hand, bson is detailed as "A fully featured BSON specification implementation in Ruby". A fully featured BSON specification implementation in Ruby.
json and bson belong to "RubyGems Packages" category of the tech stack.
json and bson are both open source tools. json with 601 GitHub stars and 276 forks on GitHub appears to be more popular than bson with 73 GitHub stars and 104 GitHub forks.
bson Stats
- Dependent Packages Counts - 147
json Stats
- Dependent Packages Counts - 7.8K
bson Vulnerabilities
- bson is vulnerable to denial of service due to incorrect regex validationCritical
- BSON rubygem contains potential denial of serviceHigh
json Vulnerabilities
- Unsafe object creation in json RubyGemHigh
- JSON gem has Improper Input Validation vulnerabilityHigh
bson Release info
Latest version
5.0.0
Apache-2.0
json Release info
Latest version
2.7.2
Ruby
What is bson?
A fully featured BSON specification implementation in Ruby.
What is json?
This is a JSON implementation as a Ruby extension in C.
Need advice about which tool to choose?Ask the StackShare community!
What companies use bson?
What companies use json?
What companies use bson?
No companies found
What companies use json?
See which teams inside your own company are using bson or json.
Sign up for StackShare EnterpriseLearn MoreSign up to get full access to all the companiesMake informed product decisions
What are some alternatives to bson and json?
rake
Rake is a Make-like program implemented in Ruby. Tasks and dependencies are specified in standard Ruby syntax. Rake has the following features: * Rakefiles (rake's version of Makefiles) are completely defined in standard Ruby syntax. No XML files to edit. No quirky Makefile syntax to worry about (is that a tab or a space?) * Users can specify tasks with prerequisites. * Rake supports rule patterns to synthesize implicit tasks. * Flexible FileLists that act like arrays but know about manipulating file names and paths. * Supports parallel execution of tasks.
rspec
BDD for Ruby.
pry
An IRB alternative and runtime developer console.
rails
Ruby on Rails is a full-stack web framework optimized for programmer happiness and sustainable productivity. It encourages beautiful code by favoring convention over configuration.
simplecov
Code coverage for Ruby 1.9+ with a powerful configuration library and automatic merging of coverage across test suites.