The example folder contains many examples and tests of JSON-RPC functionality.
JSON-RPC client using package:http
dart:io client test using async/await
http client test using async/await
dart:io client test using .then
example methods for tests using reflectable
example serializable class for tests
dart:io server using dart:mirrors
dart:io server using reflectable