Allow JSON object to be set #15

merged 2 commits into from May 11, 2011

2 participants

abh commented Sep 9, 2010

No description provided.


Thanks - though i'm not really sure if the change is compatible since JSON::encode_json for instance is not compatible to JSON->new->encode(). Rather I thought it's something like JSON->new->utf8->encode(). Ditto for the decode_utf8.

Good catch! I fixed that just now in the next commit.

@abh abh Default the JSON object to be utf8 enabled
(to work the same as JSON::encode_json() from before; thanks Miyagawa!)
abh commented Jan 5, 2011


@miyagawa miyagawa merged commit 66905d3 into miyagawa:master May 11, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment