Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use JSON module instead of cJSON (#155)
Modifies the code to use the JSON module in AWS C Common instead of directly using cJSON. This prevents duplicate copies/includes of cJSON, as well as helping reduce additional dependencies and code duplication. Commit Log: * Adjusted to use JSON module instead of cJSON * Minor fixes to code formatting * Modified to work with latest aws-c-common JSON module changes * Adjusted based on JSON module changes, removed use of cJSON in test * Clang-format fixes * Adjustments to latest JSON module * Fixed formatting and JSON include statements being incorrect * Adjustments based on latest JSON module changes after code review * Changes to work with latest JSON module changes * Updated to work with latest JSON module change * Updated Sigv4 test to use latest JSON module changes * Further signv4 test adjustments * More test adjustments to fit JSON changes * Hopefully last change needed to fix sigv4 test * Sigv4 fix - fixed treating a non-pointer like a pointer * Credentials utils fixes * Added some print statements to better find where the new error is coming from * Added JSON module initializing in Credentials Provider Tests, since common.c does not initialize it in these tests * Added missing JSON module init and cleanup in other tests * Fixed crashes in imds client due to aws byte cursor passing with JSON * Clang format fix and code comment fix * Fix for uninitialized local variable warning * Removed calling json module init in aws_imds_client_test * Removed remaining JSON module inits and cleanups * Init AWS auth library in credentials provider test * Added Auth library init to credentials provider test (needed to init JSON)
- Loading branch information