encoding/json matches struct field names case-insensitively, but this library appears to handle field names case-sensitively.
This will be surprising to some users who are adopting this library with the expectation that much of the behavior (such as json struct tag support) is broadly compatible with the stdlib. This tradeoff should at least be documented.
encoding/json
matches struct field names case-insensitively, but this library appears to handle field names case-sensitively.This will be surprising to some users who are adopting this library with the expectation that much of the behavior (such as
json
struct tag support) is broadly compatible with the stdlib. This tradeoff should at least be documented.