Marc Knaup
03/12/2019, 9:11 PMStrict JSON encountered unknown key: title\nYou can disable strict mode to skip unknown keys
. That's not very helpful for the developer implementing the API client because they don't know the full JSON path and/or location where the problem has occurred. Also it communicates implementation-specific information in the message which you don't want to report to clients.
More useful would be something like Unexpected property 'title' in 'request.posts[0].author' at offset 123
.charleskorn
03/13/2019, 2:21 AM