Raytha is a powerful CMS with an easy-to-use interface and fast performance. It offers custom content types, a template engine, and various access controls. It supports multiple storage providers and an automatically generated REST API. Upgrade your development workflow with Raytha.
I believe there are beneficial scenarios to include a built-in liquid filter in Raytha Templates to convert the object to JSON output:
Particularly useful in a situation where you are using a javascript library and the javascript is expecting data that comes from the application in json format.
Examples:
{{ Target.Items | json }} would render a JSON array
{{ Target | json }} would render the object by itself
I believe there are beneficial scenarios to include a built-in liquid filter in Raytha Templates to convert the object to JSON output:
Particularly useful in a situation where you are using a javascript library and the javascript is expecting data that comes from the application in json format.
Examples:
{{ Target.Items | json }}
would render a JSON array{{ Target | json }}
would render the object by itselfWould be added here along with the other two built-in filters we offer: https://github.com/RaythaHQ/raytha/blob/239f9bd8f0bd3c9f7c45c284bff89997656dc127/src/Raytha.Web/Services/RenderEngine.cs#L43