Kaynağa Gözat

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 yıl önce
ebeveyn
işleme
94e54b39c8
2 değiştirilmiş dosya ile 934 ekleme ve 797 silme
  1. 416 175
      ruby/ext/google/protobuf_c/upb.c
  2. 518 622
      ruby/ext/google/protobuf_c/upb.h

Dosya farkı çok büyük olduğundan ihmal edildi
+ 416 - 175
ruby/ext/google/protobuf_c/upb.c


Dosya farkı çok büyük olduğundan ihmal edildi
+ 518 - 622
ruby/ext/google/protobuf_c/upb.h


Bu fark içinde çok fazla dosya değişikliği olduğu için bazı dosyalar gösterilmiyor