Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Easier interaction with JSON #140

Open
wants to merge 1 commit into
base: maint/0.0828xx
Choose a base branch
from

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