aboutsummaryrefslogtreecommitdiff
path: root/ruby/ext/google/protobuf_c/protobuf.h
diff options
context:
space:
mode:
authorJosh Haberman <jhaberman@gmail.com>2016-01-13 19:05:43 -0800
committerJosh Haberman <jhaberman@gmail.com>2016-02-18 10:50:14 -0800
commit78da66698b2f4b1f2530be855cf2509dd58737ca (patch)
tree81312c23b34f1ba2114810d7a8ad2bebe3d289d4 /ruby/ext/google/protobuf_c/protobuf.h
parentc40f8c1f54f028b1ca73f3fb2dfdde500f94918f (diff)
downloadprotobuf-78da66698b2f4b1f2530be855cf2509dd58737ca.tar.gz
protobuf-78da66698b2f4b1f2530be855cf2509dd58737ca.tar.bz2
protobuf-78da66698b2f4b1f2530be855cf2509dd58737ca.zip
Changed Ruby to properly camelCase its JSON by default.
Diffstat (limited to 'ruby/ext/google/protobuf_c/protobuf.h')
-rw-r--r--ruby/ext/google/protobuf_c/protobuf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ruby/ext/google/protobuf_c/protobuf.h b/ruby/ext/google/protobuf_c/protobuf.h
index 8750c93d..21ce7bb3 100644
--- a/ruby/ext/google/protobuf_c/protobuf.h
+++ b/ruby/ext/google/protobuf_c/protobuf.h
@@ -112,6 +112,7 @@ struct Descriptor {
VALUE klass; // begins as nil
const upb_handlers* fill_handlers;
const upb_pbdecodermethod* fill_method;
+ const upb_json_parsermethod* json_fill_method;
const upb_handlers* pb_serialize_handlers;
const upb_handlers* json_serialize_handlers;
// Handlers hold type class references for sub-message fields directly in some