fixing problem that isinf(-Inf) can be 1 or -1
no single-quote string in strict mode
Add extern to json_object_set_serializer so that it gets exported (Windows fix)
Remove redefinition of strndup() which is no longer used in the codebase
Update json_util

filename should be passed as const char* to functions
json_object_to_file and json_object_to_file
no comment in strict mode
trailing char not allowed in strict mode
Fix potential out-of-bounds read in json_tokener_error_desc

Found by Coverity. The number of elements of an array 'ar' is found by
sizeof(ar)/sizeof(ar[0]) and not sizeof(ar)

76const char *json_tokener_error_desc(enum json_tokener_error jerr)
 77{
 78        int jerr_int = (int)jerr;

1. Condition "jerr_int < 0", taking false branch

2. Condition "jerr_int > 112 /* (int)sizeof (gdal_json_tokener_errors) */", taking false branch
 79        if (jerr_int < 0 || jerr_int > (int)sizeof(json_tokener_errors))
 80                return "Unknown error, invalid json_tokener_error value passed to json_tokener_error_desc()";

CID 1076806 (#1 of 1): Out-of-bounds read (OVERRUN)3. overrun-local: Overrunning array "gdal_json_tokener_errors" of 14 8-byte elements at element index 112 (byte offset 896) using index "jerr" (which evaluates to 112).
 81        return json_tokener_errors[jerr];
 82}
Merge pull request #104 from rouault/fix_json_tokener_error_desc_out_of_bounds_read

Fix potential out-of-bounds read in json_tokener_error_desc
Merge pull request #93 from tmielika/master

fixing problem that isinf(-Inf) can be 1 or -1
Merge pull request #94 from remicollet/issue-strict2

more strictness
Merge pull request #95 from rouault/extern_json_object_set_serializer

Add extern to json_object_set_serializer so that it gets exported (Windows fix)
Merge pull request #96 from rouault/remove_strdnup

Remove redefinition of strndup() which is no longer used in the codebase
Merge pull request #97 from pascal-bach/master

Add const qualifiers to json_object_to_file and json_object_to_file_ext
strndup is gone, remove it from the README file.
The updated test driver creates .log and .trs files; ignore them.
Ignore the test-driver script that is now created, and the script for the test_locale test.
Added a json_object_new_double_s() convenience function to allow an exact string representation of a double to be specified when creating the object and use it in json_tokener_parse_ex() so a re-serialized object more exactly matches the input.
Add json_object_free_userdata() and json_object_userdata_to_json_string() too.
Use sizeof instead of hard coded values when calling snprintf.
Issue #59: change the floating point output format to %.17g so values with more than 6 digits show up in the output.