Commit Graph

137 Commits

Author SHA1 Message Date
Fabio Caccamo 9f5602cf1e Fixed test method name. 2020-09-22 14:17:23 +02:00
Fabio Caccamo 2be7529c60 Improved tests backward compatibility. 2020-09-22 14:11:50 +02:00
Fabio Caccamo 1bf7864ecb Added match utility method. #11 #16 2020-09-22 14:10:59 +02:00
Fabio Caccamo 81197b2d71 Fixed keypath_separator inheritance when init from another benedict instance. #35 2020-09-22 14:07:50 +02:00
Fabio Caccamo 9c53a18e2a Updated keypaths method to use the default separator instead of None. 2020-09-21 19:12:45 +02:00
Fabio Caccamo 4ad0f9439e Added indexes support to keypaths method. #13 2020-09-21 16:41:44 +02:00
Fabio Caccamo 2d519d76cb Improved benedict casting support. 2020-09-19 14:42:02 +02:00
Fabio Caccamo eac655b67f Added BaseDict to keep pointer to the initial input dict. #32 2020-09-17 19:05:55 +02:00
Fabio Caccamo ac3895acd8 Updated flatten method, now raise KeyError in case of existing key. 2020-09-17 19:03:29 +02:00
Fabio Caccamo 712b8540ff Updated flatten method, now raise KeyError in case of existing key. 2020-09-17 19:01:57 +02:00
Fabio Caccamo 8065eddf41 Added empty option to clone utility method. 2020-09-17 14:09:59 +02:00
Fabio Caccamo c255be26ef Added plist dict test case. 2020-09-10 18:09:36 +02:00
Fabio Caccamo 1ef74442c1 Fixed plist tests. 2020-09-10 18:07:09 +02:00
Fabio Caccamo 00f695d849 Fixed plist tests. 2020-09-09 18:55:43 +02:00
Fabio Caccamo 84ff5b7406 Enforced IODict initial check when using filepath or data-string. 2020-09-09 16:47:25 +02:00
Fabio Caccamo ac789db31d Added plist support. 2020-09-09 16:45:39 +02:00
Fabio Caccamo 0abe713e84 Updated dict pointers test. #25 2020-09-04 15:58:37 +02:00
Fabio Caccamo b9dfedf8da Added test case for issue #25 2020-09-02 13:48:22 +02:00
Fabio Caccamo f0dfecb59b Removed print from tests. 2020-09-02 13:48:01 +02:00
Fabio Caccamo 3e4ae0622a Added overwrite option support to merge method. #24 2020-09-02 10:22:20 +02:00
Fabio Caccamo 06c740a488 Added find method. #23 2020-08-27 15:13:18 +02:00
Fabio Caccamo 6cd075edce Fixed format auto-detection with unexpected extensions. 2020-08-12 12:46:52 +02:00
Fabio Caccamo 991487590f Added issue #20 test case. 2020-08-12 12:42:16 +02:00
Fabio Caccamo d0dfee0681 Added data format auto-detection when creating instance with data from filepath or url. 2020-03-13 13:54:53 +01:00
Fabio Caccamo 86a23c7c11 Fixed `keypath_separator` support when using `from_{format}` methods. #12 2020-03-13 13:53:49 +01:00
Fabio Caccamo b82e6bb724 Changed pickle default protocol to 2. 2020-02-21 14:36:07 +01:00
Fabio Caccamo 9dc197bd7e Fixed dump test for python 3.5. 2020-02-21 13:55:06 +01:00
Fabio Caccamo a7aa531d54 Added from_pickle and to_pickle methods. 2020-02-21 13:54:08 +01:00
Fabio Caccamo d721d8c986 Changed pickle default protocol to pickle.HIGHEST_PROTOCOL. 2020-02-21 13:53:09 +01:00
Fabio Caccamo ee5c814324 Removed type_util.is_binary method. 2020-02-21 13:51:22 +01:00
Fabio Caccamo 6da3cb5a04 Fixed python 2.7 build errors. 2020-02-20 18:08:38 +01:00
Fabio Caccamo 0e306d5307 Added parse_util test case. 2020-02-20 17:17:22 +01:00
Fabio Caccamo c1eeb5671e Added pickle encode/decode tests. 2020-02-20 17:15:53 +01:00
Fabio Caccamo 4b941579b6 Improved type_util tests. 2020-02-20 17:11:06 +01:00
Fabio Caccamo a706708e04 Improved dump tests. 2020-02-20 11:41:26 +01:00
Fabio Caccamo e3b0c115dc Improved unflatten tests. 2020-02-20 11:41:14 +01:00
Fabio Caccamo ea3141b769 Added pickle serializer. 2020-02-19 18:14:23 +01:00
Fabio Caccamo 84ced6c68b Added datetime, Decimal and set support to JSONSerializer. 2020-02-19 18:12:36 +01:00
Fabio Caccamo fdb4569f69 Updated serializers encode/decode methods to staticmethod(s). 2020-02-19 15:16:23 +01:00
Fabio Caccamo de6d6b13a8 Fixed type_util.is_json_serializable with set objects. 2020-02-19 15:14:22 +01:00
Fabio Caccamo 7a4920705d Improved invert utility to handles correctly lists and tuples. 2020-02-19 15:13:33 +01:00
Fabio Caccamo d82930add0 Removed print call in test. 2020-02-19 15:05:33 +01:00
Fabio Caccamo c396a12f39 Added StackOverflow test case. 2020-02-18 10:24:57 +01:00
Fabio Caccamo efc607eea4 Fixed search for int no results - #7 2020-02-07 11:42:08 +01:00
Fabio Caccamo e55c542db2 Added 2 so questions test cases. 2020-02-06 15:19:37 +01:00
Fabio Caccamo 775df0efa8 Moved import inside test function to avoid copy/paste errors on stack-overflow. 2020-02-06 15:19:01 +01:00
Fabio Caccamo 6c9a188be1 Added nest utility method tests. 2020-02-06 15:17:09 +01:00
Fabio Caccamo 46e55cf1c9 Added nest utility method. 2020-02-06 15:16:11 +01:00
Fabio Caccamo 78c20ca2ce Added type_util tests. 2020-02-06 15:15:10 +01:00
Fabio Caccamo eb676bcc8f Added groupby utility method. 2020-02-06 15:14:36 +01:00