summaryrefslogtreecommitdiff
path: root/upb/json
AgeCommit message (Collapse)Author
2019-04-24Fixed amalgamation and CMake build.Joshua Haberman
2019-03-27Moved macros from upb.h to port_def.inc to avoid leaking them to users. (#160)Joshua Haberman
* Use port_def.inc to prevent macros from leaking to users. * Added helpful comments to port_def.inc/port_undef.inc.
2019-03-27Removed reflection and other extraneous things from the core library. (#158)Joshua Haberman
* Removed reflection and other extraneous things from the core library. * Added missing files and ran buildifier. * New CMakeLists.txt. * Made table its own cc_library() for internal usage.
2019-03-25Allow bytes field to be longer than 16000 bytes (#157)Paul Yang
2019-03-24Replace strptime with custom implementationBo Yang
2019-03-24Fix parsing repeated well known type value (#153)Paul Yang
* Fix parsing repeated well known type value * Fix generated file * Fix comment
2019-03-05Fix for Windows.Josh Haberman
2019-03-05Merge branch 'master' into defcleanupJoshua Haberman
2019-03-05Fix the issue for strptimeBo Yang
* Define _XOPEN_SOURCE * Exclude usage on windows
2019-01-19Fix empty FieldMask json encodingBo Yang
2019-01-17Moved some definitions to def.hJoshua Haberman
2019-01-17Merge branch 'arrayapi' into defcleanupJoshua Haberman
2019-01-16Supprot FieldMask json encoding/decoding. (#147)Paul Yang
2019-01-15Added some comments and reversed upb_arena_cleanup() args.Joshua Haberman
2019-01-15Take sinks by value.Joshua Haberman
2019-01-15All tests pass again!Joshua Haberman
2019-01-14WIP.Joshua Haberman
2019-01-12A lot more tests are working now.Joshua Haberman
2019-01-12Removed old-style C++ handlers that relied on UB in favor of more normal ones.Joshua Haberman
2019-01-09upb_refcounted is gone! Some tests still to fix.Joshua Haberman
2018-12-22Merge branch 'master' into defcleanupJoshua Haberman
2018-12-19Fix commentsBo Yang
2018-12-13Fix generated file testBo Yang
2018-12-12Mark unused parameterBo Yang
2018-12-12Remove unused codeBo Yang
2018-12-12Add support for encoding Any in jsonBo Yang
2018-12-10WIP, core library compiles now.Joshua Haberman
2018-12-04Implement json decoding for Any message. (#130)Paul Yang
* Implement json decoding for Any message. type url may not appear as the first value in json. As a result, other data cannot be resolved before resolving type url. To solve that, this change caches the start and end position of unparsed values and resolve them in end_any_object when type url has been resolved. * Handle Any in switch * Update json parser size * Fix comments * Sync upstream * Add dependency on upb_pb for upb_json * Debug failed test * Fix cmake * Update test generated files * Remove debug tests
2018-11-03Bazel builds everything except conformance_upb.Josh Haberman
2018-10-05Fix json ignore unknown (#128)Paul Yang
* 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
2018-09-21Fix mac use local timezone for strptime by default. (#127)Paul Yang
* Fix mac use local timezone for strptime by default. * Fix comments * Check len == UPB_TIMESTAMP_BASE_SIZE * Fix comment
2018-09-18Fix json encoding for wrappers, ListValue, Struct and Value. (#126)Paul Yang
* Fix json encoding for wrappers, ListValue, Struct and Value. * Add well_known_type field in upb_msgdef to specify type of well known messages. * Remove comma at end of enum definition. * Group number wrappers * Fix comments * Refactoring to use is_wellknown_{msg/field}
2018-09-06Initialize valueBo Yang
2018-09-06Fix json parsing for Struct, ListValue and Value.Bo Yang
2018-08-29Fix json encoding/decoding for duration. (#118)Paul Yang
* Fix json encoding/decoding for duration. * Use lld for int64_t * Cast int64_t to long
2018-08-24Fix json parsing for timestamp (#115)Paul Yang
* Fix json parsing for timestamp * Fix json encoding for timestamp * Implement timestamp_machine to parse timestamp * Remove comparision for size_t and 0 * Increase defined printer size * Increase size * Increase parser size * Mark json_en_timestamp_machine unused
2018-08-09Use special eof char to mark end of parsingBo Yang
2018-08-09Move logic away from ragel machineBo Yang
2018-08-05Remove unused codeBo Yang
2018-08-05Make value top levelBo Yang
2018-08-01Mark unused variableBo Yang
2018-07-31Update ragel generated fileBo Yang
2018-07-30Make top level wrapper value parsing workBo Yang
2018-07-27Fix json decoding for wrapper messagesBo Yang
2018-06-27Enable ignore unknown field in json parsingBo Yang
2017-06-19Responded to PR comments. This also fixed a few more conformance tests.Josh Haberman
2017-06-08Some fixes to make JSON properly recognize numbers in quotes.Josh Haberman
2016-11-29New upb_msg code and Lua bindings around it.Josh Haberman
There are still some things that are unfinished, but we are at parity with what Lua had before.
2016-09-01Updated generated code.Josh Haberman
2016-08-29JSON: fix a couple cases of the wrong closure being passed to end handlers.Josh Haberman
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback