Skip Menu |

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

Report information
The Basics
Id: 113931
Status: resolved
Priority: 0/
Queue: JSON-JSend

People
Owner: Nobody in particular
Requestors: nebulous [...] crashed.net
Cc:
AdminCc:

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



Subject: JSend and convert_blessed
Date: Fri, 22 Apr 2016 16:19:31 -0400
To: bug-JSON-JSend [...] rt.cpan.org
From: Nebulous <nebulous [...] crashed.net>
Hi, Thanks for writing JSON::JSend. I would like to use it in a project but am running into a snag: namely that I need the convert_blessed option to be set when generating JSON. Could you add an option to the constructor which allows for JSON parameters such as convert_blessed to be passed? For example: my $jsend = JSON::JSend->new( json_options=>{ convert_blessed=>1 }); A patch to JSend.pm is attached. -John

Message body is not shown because sender requested not to inline it.