Need advice about which tool to choose?Ask the StackShare community!

json

60
12
+ 1
0
protobuf

5
2
+ 1
0
Add tool

json vs protobuf: 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, protobuf is detailed as "Google Protocol Buffers serialization and RPC implementation for Ruby". Google Protocol Buffers serialization and RPC implementation for Ruby.

json and protobuf belong to "RubyGems Packages" category of the tech stack.

json and protobuf are both open source tools. It seems that json with 601 GitHub stars and 276 forks on GitHub has more adoption than protobuf with 413 GitHub stars and 95 GitHub forks.

json Stats
  • Dependent Packages Counts - 7.8K
protobuf Stats
  • Dependent Packages Counts - 46
json Vulnerabilities
  • Unsafe object creation in json RubyGem
    High
  • High severity vulnerability that affects json
    High
protobuf Vulnerabilities
No Vulnerabilities found
json Release info
Latest version
2.6.2
Ruby
protobuf Release info
Latest version
3.10.7
MIT

What is json?

This is a JSON implementation as a Ruby extension in C.

What is protobuf?

Google Protocol Buffers serialization and RPC implementation for Ruby.

Need advice about which tool to choose?Ask the StackShare community!

What companies use json?
What companies use protobuf?
    No companies found
    See which teams inside your own company are using json or protobuf.
    Sign up for StackShare EnterpriseLearn More

    Sign up to get full access to all the companiesMake informed product decisions

    What are some alternatives to json and protobuf?
    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.
    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.
    rspec
    BDD for Ruby.
    pg
    Pg is the Ruby interface to the {PostgreSQL RDBMS}[http://www.postgresql.org/]. It works with {PostgreSQL 9.2 and later}[http://www.postgresql.org/support/versioning/]. A small example usage: #!/usr/bin/env ruby require 'pg' # Output a table of current connections to the DB conn = PG.connect( dbname: 'sales' ) conn.exec( "SELECT * FROM pg_stat_activity" ) do |result| puts " PID | User | Query" result.each do |row| puts " %7d | %-16s | %s " % row.values_at('procpid', 'usename', 'current_query') end end.
    See all alternatives