Browse Source

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 năm trước cách đây
mục cha
commit
94e54b39c8
2 tập tin đã thay đổi với 934 bổ sung797 xóa
  1. 416 175
      ruby/ext/google/protobuf_c/upb.c
  2. 518 622
      ruby/ext/google/protobuf_c/upb.h

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 416 - 175
ruby/ext/google/protobuf_c/upb.c


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 518 - 622
ruby/ext/google/protobuf_c/upb.h


Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác