Lava Example - 31
Prompt
You have two merge fields: {{ tedText }} and {{ tedObject }}.
Examine each of these objects using the Debug filter and ToJSON to recognize the difference between text and an object.
Initial Code
<p>{{ tedText }}</p>
<p>{{ tedObject }}</p>
Solution Lava
<p>{{ tedText | ToJSON }}</p>
<pre>{{ tedObject | ToJSON }}</pre>