render($self, HashRef $data) This method is not expected to be called directly via userland code but instead will be called by Reactive::Core::TemplateRenderer->inject_attribute

returns json encoded $data after first handling some common types

process_data($self, HashRef $data) This method is not expected to be called directly via userland code but instead will be called by ->render

recursively iterates through $data performing some type conversions
to allow json encoding to work more smoothly

most notably
DateTime objects will be encoded as full ISO8601 strings with timezone info
DBIx::Class objects will be serialized in a way that minimizes the data while also allowing them to work nicely in components

returns a HashRef with same keys as $data but with the converted values

AUTHOR

Robert Moore, <robert at r-moore.tech>

BUGS

Please report any bugs or feature requests to bug-reactive-core at rt.cpan.org, or through the web interface at https://rt.cpan.org/NoAuth/ReportBug.html?Queue=Reactive-Core. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Reactive::Core

You can also look for information at:

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

This software is Copyright (c) 2025 by Robert Moore.

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)