46 Commits (13c59cb051c4deee5367f9c5fc7b5d07363496a0)

Author SHA1 Message Date
Paul Yang 13c59cb051
Implement json decoding for Any message. (#130) 6 years ago
Josh Haberman 2655ed9cf5 Bazel builds everything except conformance_upb. 6 years ago
Paul Yang 3c742bfdc8
Fix json ignore unknown (#128) 6 years ago
Paul Yang b258ae3235
Fix mac use local timezone for strptime by default. (#127) 6 years ago
Paul Yang 706ffdbc65
Fix json encoding for wrappers, ListValue, Struct and Value. (#126) 6 years ago
Bo Yang 81fbb4ffa7 Initialize value 6 years ago
Bo Yang 6c910330c4 Fix json parsing for Struct, ListValue and Value. 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
Bo Yang a8d1a5933d Use special eof char to mark end of parsing 6 years ago
Bo Yang d4caefaade Move logic away from ragel machine 6 years ago
Bo Yang f1d7570f30 Remove unused code 6 years ago
Bo Yang ac9d4468f5 Make value top level 6 years ago
Bo Yang ae2f1cdb17 Mark unused variable 6 years ago
Bo Yang 9449cf68cc Make top level wrapper value parsing work 6 years ago
Bo Yang 20f1b6df41 Fix json decoding for wrapper messages 6 years ago
Bo Yang 72e66e2b55 Enable ignore unknown field in json parsing 7 years ago
Josh Haberman cbc2d7af56 Responded to PR comments. This also fixed a few more conformance tests. 8 years ago
Josh Haberman d04af15acb Some fixes to make JSON properly recognize numbers in quotes. 8 years ago
Josh Haberman 4b0c4ca7fb New upb_msg code and Lua bindings around it. 8 years ago
Josh Haberman ea85066489 JSON: fix a couple cases of the wrong closure being passed to end handlers. 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 5b1804d52a Fix for JSON error reporting. (#57) 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 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 2efe6be994 Clear JSON parser status in reset. 10 years ago
Josh Haberman 334bab5d8d Updated JSON parser size. 10 years ago
Josh Haberman 5506b58943 Fixed JSON parser error reporting. 10 years ago
Josh Haberman c09ec32f5c Updated license headers for Ragel source also. 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
Josh Haberman b55f32b278 Fix for JSON parser: don't overrun buffer parsing ints. 10 years ago
Josh Haberman 87fc2c516b Changes from Google-internal development. 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 98adb44547 Sync update: haberman@'s internal changes. 10 years ago
Chris Fallin f3052474d4 Update JSON parser to emit UTF8 to string fields appropriately. 10 years ago
Josh Haberman 39c9a8bd5a Sync from Google-internal development. 10 years ago