testspec5.json 451 B

123456789101112131415161718192021
  1. [
  2. {
  3. "method": "testmethod",
  4. "params": {"name": "myname"},
  5. "returns": "somestring"
  6. },
  7. {
  8. "notification": "testnotification",
  9. "params": {"name": "myname"}
  10. },
  11. {
  12. "name": "testmethod2",
  13. "params": {"values": [1,2,3], "object": {"a": "b"}},
  14. "returns": 33.2
  15. },
  16. {
  17. "name": "testnotification2",
  18. "params": {"values": [1,2,3], "object": {"a": "b"}}
  19. }
  20. ]