53 Commits (4e2505edaa325bcf0ffd69eefa7cb810d6dde861)

Author SHA1 Message Date
Joshua Haberman aacdcf8b91 The compile is now clean of -Wshorten-64-to-32 warnings. 5 years ago
Joshua Haberman 6ec4df82c1 Updated other parts of upb for new JSON name API. 5 years ago
Joshua Haberman 7f5fe52dfa Fixes for non-C89 code. 5 years ago
Esun Kim 7a1e6aa84b Support MSVC prior to 2015 5 years ago
Bo Yang a6347ec35e Change methods name to specify as number/string 6 years ago
Bo Yang 8e5f03f719 Fix integer types 6 years ago
Bo Yang c50e849ac2 Change int64 json encoding to be string 6 years ago
Joshua Haberman cf35baa1ad
Moved macros from upb.h to port_def.inc to avoid leaking them to users. (#160) 6 years ago
Paul Yang a8a0bc73b9
Allow bytes field to be longer than 16000 bytes (#157) 6 years ago
Bo Yang 12a5297740 Fix empty FieldMask json encoding 6 years ago
Joshua Haberman 8cd3b9dfa9 Moved some definitions to def.h 6 years ago
Paul Yang c7870e0f77
Supprot FieldMask json encoding/decoding. (#147) 6 years ago
Joshua Haberman f30c7f4acb Take sinks by value. 6 years ago
Joshua Haberman cb26d883d1 WIP. 6 years ago
Joshua Haberman 48863ea0be A lot more tests are working now. 6 years ago
Joshua Haberman d2f9bec5c6 Removed old-style C++ handlers that relied on UB in favor of more normal ones. 6 years ago
Joshua Haberman 0553eff64a upb_refcounted is gone! Some tests still to fix. 6 years ago
Bo Yang 18563bee4c Fix comments 6 years ago
Bo Yang 375a25423e Mark unused parameter 6 years ago
Bo Yang 915806ea8d Remove unused code 6 years ago
Bo Yang b39dbb9d40 Add support for encoding Any in json 6 years ago
Joshua Haberman 336402b4d7 WIP, core library compiles now. 6 years ago
Paul Yang 13c59cb051
Implement json decoding for Any message. (#130) 6 years ago
Paul Yang 706ffdbc65
Fix json encoding for wrappers, ListValue, Struct and Value. (#126) 6 years ago
Paul Yang 6c4469e189
Fix json encoding/decoding for duration. (#118) 6 years ago
Paul Yang 38d674e86f
Fix json parsing for timestamp (#115) 6 years ago
Josh Haberman d04af15acb Some fixes to make JSON properly recognize numbers in quotes. 8 years ago
Joshua Haberman fa338b70a6 Added UPB_ASSERT() that helps avoid unused var warnings. 9 years ago
Joshua Haberman 68bc62a7fa Split upb::Arena/upb::Allocator from upb::Environment. (#58) 9 years ago
Joshua Haberman 89197b9358 JSON parser: always accept both name variants, flag controls which we generate. 9 years ago
Josh Haberman 1019f76fc5 Added migration flag for users using old JSON format. 9 years ago
Josh Haberman 79938f3590 Fixed const correctness of json_nice_escape(). 9 years ago
Josh Haberman 4150640650 Added assertions for getjsonname() return. 9 years ago
Josh Haberman 458da2563f Addressed code review comments. 9 years ago
Josh Haberman f9afc3e55b Changed JSON parser/printer to correctly camelCase names. 9 years ago
Josh Haberman 49dab06e03 Brought into compliance with Google open-source policies. 10 years ago
Josh Haberman 919fea438a Ported upb to C89, for greater portability. 10 years ago
Josh Haberman 3bd691a497 Google-internal development. 10 years ago
Martin Maly 508c39ee13 Resolve compilation errors if compiled with more stringent semantic checks. 10 years ago
Chris Fallin 099d57346a Fixed JSON parser issue: missing NUL byte in parse_number() in some code 10 years ago
Chris Fallin fb58504569 Support maps in JSON parsing and serialization. 10 years ago
Chris Fallin 87a18f3774 Support oneof defs in upb. 10 years ago
Chris Fallin b3f6daf83d Amalgamated distribution (upb.c/upb.h) tool. 10 years ago
Chris Fallin 8f8113b4ff JSON test, symbolic enum names in JSON, and a few improvements. 10 years ago
Chris Fallin f3052474d4 Update JSON parser to emit UTF8 to string fields appropriately. 10 years ago
Chris Fallin 3249b36a2a Synced to post-code-review JSON printer. 10 years ago
Chris Fallin db63db82aa JSON printer: remove dependency on YAJL, using a hand-rolled printer instead. 10 years ago
Josh Haberman 39c9a8bd5a Sync from Google-internal development. 10 years ago
Josh Haberman 2d10fa3307 Sync from internal Google development. 11 years ago