Quellcode durchsuchen

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 vor 9 Jahren
Ursprung
Commit
94e54b39c8
2 geänderte Dateien mit 934 neuen und 797 gelöschten Zeilen
  1. 416 175
      ruby/ext/google/protobuf_c/upb.c
  2. 518 622
      ruby/ext/google/protobuf_c/upb.h

Datei-Diff unterdrückt, da er zu groß ist
+ 416 - 175
ruby/ext/google/protobuf_c/upb.c


Datei-Diff unterdrückt, da er zu groß ist
+ 518 - 622
ruby/ext/google/protobuf_c/upb.h


Einige Dateien werden nicht angezeigt, da zu viele Dateien in diesem Diff geändert wurden.