rsyslog / libfastjson

a fast json library for C
Other
54 stars 32 forks source link

add option for case-insensitive comparisons #143

Closed rgerhards closed 7 years ago

rgerhards commented 7 years ago

This permits to search for json keys in a case-sensitive way. The default is "off", as this is against the JSON spec. However, rsyslog needs this capability to increase usability inside the variable system.

We add a new API call to switch between case-sensitive and case-insensitive comparison, with case-sensitive being the default.