| commit | 4a3a7d9777efa0a74e3e9b05e0a2ecb81ad222da | [log] [tgz] |
|---|---|---|
| author | Bernardo Bruning <bernardo.bruning@gmail.com> | Wed Jan 26 22:15:23 2022 -0300 |
| committer | Bernardo Bruning <bernardo.bruning@gmail.com> | Wed Jan 26 22:15:23 2022 -0300 |
| tree | 399a0838c2bfaeb9338bc09cee1d4c4ceb8b7bc3 | |
| parent | 6475a965058289140d54b873fc18d8242dbee1da [diff] |
Introduce tests to encode and decode json
μpb (often written ‘upb’) is a small protobuf implementation written in C.
upb is the core runtime for protobuf languages extensions in Ruby, PHP, and (soon) Python.
While upb offers a C API, the C API & ABI are not stable. For this reason, upb is not generally offered as a C library for direct consumption, and there are no releases.
upb has comparable speed to protobuf C++, but is an order of magnitude smaller in code size.
Like the main protobuf implementation in C++, it supports:
upb also supports some features that C++ does not:
However there are a few features it does not support:
protoc.For Ruby, use RubyGems:
$ gem install google-protobuf
For PHP, use PECL:
$ sudo pecl install protobuf
Please see CONTRIBUTING.md.