浏览代码

Updated upb: picked up legacy JSON flags to help Ruby users migrate.

The flags are:

  UPB_JSON_ACCEPT_LEGACY_FIELD_NAMES
  UPB_JSON_WRITE_LEGACY_FIELD_NAMES

The first just allows the parser to accept the old field names.
The second makes the printer print the old field names.

These flags are intended to be temporary, as a migration aid
for users.
Josh Haberman 9 年之前
父节点
当前提交
94e54b39c8
共有 2 个文件被更改,包括 934 次插入797 次删除
  1. 416 175
      ruby/ext/google/protobuf_c/upb.c
  2. 518 622
      ruby/ext/google/protobuf_c/upb.h

文件差异内容过多而无法显示
+ 416 - 175
ruby/ext/google/protobuf_c/upb.c


文件差异内容过多而无法显示
+ 518 - 622
ruby/ext/google/protobuf_c/upb.h


部分文件因为文件数量过多而无法显示