Skip Menu |

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

Report information
The Basics
Id: 102274
Status: new
Priority: 0/
Queue: JSON-SL

People
Owner: Nobody in particular
Requestors: blue [...] thisisnotmyrealemail.com
Cc:
AdminCc:

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



Subject: allow chaining of option setters
Ideally, options are best set in the constructor, but if that cannot be, then it would be best to mimic JSON::XS's chained options: my $p = JSON::SL->new->utf8->set_jsonpointer(["/^"]); $p->feed($buf);
From: blue [...] thisisnotmyrealemail.com
On Sat Feb 21 16:42:39 2015, blue wrote: Show quoted text
> Ideally, options are best set in the constructor, but if that cannot > be, then it would be best to mimic JSON::XS's chained options: > > my $p = JSON::SL->new->utf8->set_jsonpointer(["/^"]); > $p->feed($buf);
also an alias from set_jsonpointer to "pointer" would be useful