Skip to content

Conversation

dohnuts
Copy link

@dohnuts dohnuts commented Jul 11, 2021

Hello,

There's probably a reason why TO_JSON is not here , but I do not see it.
The purpose is to be compatible with JSON::XS->new->convert_blessed->encode

This is more of a question than a true PR.

Have a great day, best.

There s probably a reason why it s not here , but I do not see it
to use with JSON::XS->new->convert_blessed->encode

This is more of a question than a true PR
@karenetheridge
Copy link
Contributor

It's in DBIx::Class::Helper::Row::ToJSON.

@dohnuts
Copy link
Author

dohnuts commented Jul 11, 2021

It's in DBIx::Class::Helper::Row::ToJSON.

Ok, thank you,

maybe i ll just put that :
sub DBIx::Class::Row::TO_JSON {shift->{_column_data}}

Confusion intensifies,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants