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.
pull/1413/head
Josh Haberman 9 years ago
parent 814685ca2c
commit 94e54b39c8
  1. 1123
      ruby/ext/google/protobuf_c/upb.c
  2. 1804
      ruby/ext/google/protobuf_c/upb.h

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save