Hello everyone, i have 2 small questions regarding JSON.
Question1
I use @service.json to return a JSON response to an ajax call with
some rows but besides the data I also get some lambdas that are
attached to Rows. Is there any to get rid of those?
Question 2
Is it also possible to return rows in json format inside a normal html
response.
For example i want to return a simple HTML page and output something
like this in my code
<script type='script/javascript'>
var entries = {{ entries }};
</script>
where entries is the result of a DAL query