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
Download (untitled) / with headers
text/plain 310b
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.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.