Commit Graph

782 Commits

Author SHA1 Message Date
Max Bruckner
997ca129a2 cJSONUtils_ApplyPatch -> apply_patch 2017-05-02 01:30:58 +02:00
Max Bruckner
cf1770b0ea cJSONUtils_Compare -> compare_json 2017-05-02 01:30:58 +02:00
Max Bruckner
aefe2f85ab cJSONUtils_PatchDetach -> detach_path 2017-05-02 01:30:58 +02:00
Max Bruckner
7f645de322 cJSONUtils_InplaceDecodePointerString -> decode_pointer_inplace 2017-05-02 01:30:58 +02:00
Max Bruckner
e6c239db2b cJSONUtils_PointerEncodedstrcpy -> encode_string_as_pointer 2017-05-02 01:30:58 +02:00
Max Bruckner
f4d9e2e1a1 cJSON_strcasecmp -> case_insensitive_strcmp 2017-05-02 01:30:58 +02:00
Max Bruckner
e3ed64d56e cJSON_PointerEncodedstrlen -> pointer_encoded_length 2017-05-02 01:30:58 +02:00
Max Bruckner
6b01dee7ca Rename cJSONUtils_Pstrcasecmp to case_insensitive_pointer_comparison
Also changes the return type to cJSON_bool
2017-05-02 01:30:58 +02:00
Max Bruckner
b73881a388 cJSON_Utils: Add true/false 2017-05-02 01:30:58 +02:00
Max Bruckner
bb2f868126 refactor cJSONUtils_GenerateMergePatch 2017-05-02 01:30:58 +02:00
Max Bruckner
11b8a8cd76 refactor cJSONUtils_MergePatch 2017-05-02 01:30:58 +02:00
Max Bruckner
01d656bebc refactor cJSONUtils_SortObject 2017-05-02 01:30:58 +02:00
Max Bruckner
7bf62ff4dc refactor cJSONUtils_SortList 2017-05-02 01:30:58 +02:00
Max Bruckner
f030058183 refactor cJSONUtils_GeneratePatches 2017-05-02 01:30:58 +02:00
Max Bruckner
a67c24c451 refactor cJSONUtils_CompareToPatch 2017-05-02 01:30:58 +02:00
Max Bruckner
512c313111 refactor cJSONUtils_AddPatchToArray 2017-05-02 01:30:58 +02:00
Max Bruckner
e591d4173a refactor cJSONUtils_GeneratePatch 2017-05-02 01:30:58 +02:00
Max Bruckner
bde341edd8 refactor cJSONUtils_ApplyPatches 2017-05-02 01:30:58 +02:00
Max Bruckner
48c97985d6 refactor cJSONUtils_ApplyPatch 2017-05-02 01:30:58 +02:00
Max Bruckner
63db67bfeb refactor cJSONUtils_Compare 2017-05-02 01:30:58 +02:00
Max Bruckner
2040ce9004 refactor cJSONUtils_PatchDetach 2017-05-02 01:30:58 +02:00
Max Bruckner
4ba6bafe34 refactor cJSONUtils_InplaceDecodePointerString 2017-05-02 01:30:58 +02:00
Max Bruckner
378a333ee2 refactor cJSONUtils_GetPointer 2017-05-02 01:30:58 +02:00
Max Bruckner
4642d6575f refactor decode_array_index_from_pointer 2017-05-02 01:30:58 +02:00
Max Bruckner
4932c80f26 refactor cJSONUtils_FindPointerFromObjectTo 2017-05-02 01:30:58 +02:00
Max Bruckner
674a678819 refactor cJSONUtils_PointerEncodedstrcpy 2017-05-02 01:30:58 +02:00
Max Bruckner
b8e3673d0f refactor cJSONUtils_PointerEncodedstrlen 2017-05-02 01:30:58 +02:00
Max Bruckner
b16bcc3c19 refactor cJSONUtils_Pstrcasecmp 2017-05-02 01:30:58 +02:00
Max Bruckner
44d313212b refactor cJSONUtils_strcasecmp 2017-05-02 01:30:58 +02:00
Max Bruckner
055c7007e5 refactor cJSONUtils_strdup 2017-05-02 01:30:58 +02:00
Max Bruckner
a1a860cd31 Merge pull request #158 from DaveGamble/case-sensitive
Provide case sensitive versions of all functions
2017-05-02 01:27:49 +02:00
Max Bruckner
bc622fcc15 README.md: Use cJSON_GetObjectItemCaseSensitive 2017-05-02 01:18:55 +02:00
Max Bruckner
dede4e3246 Add cJSON_ReplaceItemInObjectCaseSensitive 2017-05-02 01:18:55 +02:00
Max Bruckner
8b953d1202 Add cJSON_ReplaceItemViaPointer 2017-05-02 01:18:55 +02:00
Max Bruckner
2d07bbc9b2 Add cJSON_DeleteItemFromObjectCaseSensitive 2017-05-02 00:36:10 +02:00
Max Bruckner
8816a568ab Add cJSON_DetachItemFromObjectCaseSensitive 2017-05-02 00:34:17 +02:00
Max Bruckner
33193ea557 Internal function get_array_item 2017-05-02 00:27:33 +02:00
Max Bruckner
acb0ca88df Use cJSON_DetachItemViaPointer internally 2017-05-01 23:59:14 +02:00
Max Bruckner
c24c3e0285 Add cJSON_DetachItemViaPointer 2017-05-01 23:58:04 +02:00
Max Bruckner
cc3a75dd39 Makefile: Remove test_utils 2017-05-01 21:56:55 +02:00
Max Bruckner
204c7ee43f CONTRIBUTORS.md: Add Debora Grosse 2017-05-01 21:56:40 +02:00
Max Bruckner
48b3909946 Squashed 'tests/json-patch-tests/' changes from 716417e..5405313
5405313 Add tests for replacing the root document (#30)

git-subtree-dir: tests/json-patch-tests
git-subtree-split: 54053131a31241ecccfffdc79753ff169aa9763c
2017-05-01 18:02:03 +02:00
Max Bruckner
b00ecfd311 Merge commit '48b390994642e59eb1a461922a646b4c6544693c' into develop 2017-05-01 18:02:03 +02:00
Max Bruckner
87fad25c2b Merge pull request #153 from DeboraG/print_number_prec
cJSON: Fix print_number to print significant digits of doubles
2017-04-29 19:56:58 +02:00
Debora Grosse
a69ad22639 Remove test for negative zero, as -0 is acceptable output 2017-04-29 13:08:10 -04:00
Max Bruckner
28570ad095 Add test for cJSON_SetNumberHelper 2017-04-28 14:41:24 +02:00
Max Bruckner
303660ae04 Remove test_utils. (Replaced by old_utils_tests and json_patch_tests) 2017-04-28 13:58:51 +02:00
Max Bruckner
18a7828940 Merge branch 'generate-patch-tests' into develop 2017-04-28 02:00:40 +02:00
Max Bruckner
7fe8d53c19 Use json-patch-tests to test generation of tests with cJSON_Utils 2017-04-28 01:59:54 +02:00
Max Bruckner
ee3c3bc80e cJSONUtils_GeneratePatches: Fix multiple removes in arrays 2017-04-27 21:32:18 +02:00