-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use cJSON library instead of shortjson/json-c. Give cJSON fatal malloc/free functions so some repetitive error checking can be avoided. Use the base64 codec directly rather than through the base64_json.c convenience functions, since those assume json-c. Retain old behavior of printing strings unquoted and objects with compact formatting. Slight changes in array and object output result from different cJSON defaults.
- Loading branch information
Showing
1 changed file
with
119 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters