RubyGems Navigation menu

protojson 0.2.0

A Ruby gem for Google's Protocol Buffers messages using three different encodings JSON based syntax instead of the original binary protocol. Supported formats - Hashmap: A tipical JSON message, with key:value pairs where the key is a string representing the field name. - Tagmap: Very similar to Hashmap, but instead of having the field name as key it has the field tag number as defined in the proto definition. - Indexed: Takes the Tagmap format a further step and optimizes the size needed for tag numbers by packing all of them as a string, where each character represents a tag, and placing it as the first element of an array.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.2.0 - August 20, 2011 (15 KB)
  2. 0.1.0 - March 28, 2011 (8.5 KB)

Runtime Dependencies (3):

activesupport ~> 3.0.5
i18n ~> 0.5.0
ruby_protobuf ~> 0.4.10

Development Dependencies (1):

rspec >= 0

Owners:

Authors:

  • Juan de Bravo, Ivan -DrSlump- Montes

SHA 256 checksum:

3188aece165a91c5a1a7289ab527f7d5b9fb420c72ebd2a19fb9f1f9615fdf1c

Total downloads 7,749

For this version 4,619

Licenses:

N/A

Required Ruby Version: None

Links: