Skip Menu |

This queue is for tickets about the JSON-RPC CPAN distribution.

Report information
The Basics
Id: 61357
Status: new
Priority: 0/
Queue: JSON-RPC

People
Owner: Nobody in particular
Requestors: adam_lounds [...] hotmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.96
Fixed in: (no value)



Subject: Clarify how to set 1.0 version
Please extend the docs to point out that the argument to the ->version method is a string, not a number. In order to use v1.0, you must do $client->version('1.0'), not $client->version(1.0), as the code does if ($obj->{version} eq '1.0') { and will then insert "version":"1", which violates the 1.0 spec.