You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Paul Yang
3c742bfdc8
Fix json ignore unknown ( #128 )
...
* Fix json ignore unknown
Previously, there were several problems with ignoring unknown in json.
1) After finding a field is unknown, the parser's state is not changed. Thus, there is no way to distinguish whether the parser is dealing with an unknown field or it's just a top level message.
2) Several method didn't respect unknown field, e.g., start_object, end_bool, start_array.
* Update json parser size
* Update json parser size
6 years ago
..
bindings
Removed unused variable.
7 years ago
descriptor
Fix json encoding for wrappers, ListValue, Struct and Value. ( #126 )
7 years ago
json
Fix json ignore unknown ( #128 )
6 years ago
pb
Modify TODO
8 years ago
decode.c
Added support for unknown fields to upb_msg.
7 years ago
decode.h
Changed C API to only define structs, a table, and a few minimal inline functions.
7 years ago
def.c
Fix json encoding for wrappers, ListValue, Struct and Value. ( #126 )
7 years ago
def.h
Fix json encoding for wrappers, ListValue, Struct and Value. ( #126 )
7 years ago
encode.c
Added support for unknown fields to upb_msg.
7 years ago
encode.h
Changed C API to only define structs, a table, and a few minimal inline functions.
7 years ago
handlers-inl.h
Added UPB_ASSERT() that helps avoid unused var warnings.
9 years ago
handlers.c
Re-add msg handlers to the .c file also.
7 years ago
handlers.h
Re-add message handlers to upb/handlers.*.
7 years ago
msg.c
Fixed warnings.
7 years ago
msg.h
Fixed warnings.
7 years ago
msgfactory.c
Removed default instance and oneof array from tables.
7 years ago
msgfactory.h
Moved upb_msg parts that depend on def to a separate msgfactory.{c,h}.
7 years ago
port_def.inc
Added port_def.inc and port_undef.inc.
7 years ago
port_undef.inc
Added port_def.inc and port_undef.inc.
7 years ago
refcounted.c
Added UPB_ASSERT() that helps avoid unused var warnings.
9 years ago
refcounted.h
Responded to CR comments.
9 years ago
sink.c
Addressed PR comments.
8 years ago
sink.h
Reserve unknown fields in upb
8 years ago
structdefs.int.h
Fix json encoding for wrappers, ListValue, Struct and Value. ( #126 )
7 years ago
structs.int.h
Enforced that upb_msg lives in an Arena only, and other simplifying.
7 years ago
table.c
Bugfix on bigendianess by casting size_t to unint32_t
7 years ago
table.int.h
Revert "Prepare upb_value for encoding/decoding map."
7 years ago
upb.c
Fixed amalgamated build and added test.
8 years ago
upb.h
Revert "Prepare upb_value for encoding/decoding map."
7 years ago