creachadair / jrpc2

A Go implementation of a JSON-RPC 2.0 server and client.
BSD 3-Clause "New" or "Revised" License
62 stars 10 forks source link

Fix implementation of StrictFields. #75

Closed creachadair closed 2 years ago

creachadair commented 2 years ago

The previous implementation did not work correctly. Instead of just adding the strictFielder method, actually implement json.Unmarshaler.

Update the test cases to correctly exercise the intended behaviour.