gstelang
9 years agoMentor
How do I print the freemarker object as string?
Hey guys, Is there a equivalent of JavaScript's console.log or JSON stringify method when I am building components? For example -- I got answer from one of the forums that the rest call to...
- 9 years ago
Hi,
if it's about debugging rest calls, you can use the "restd" context object (and change to rest for the final code).
You can find documentation and examples here: http://community.lithium.com/t5/Developer-Documentation/bd-p/dev-doc-portal?section=freemarker -> Context Objects -> restd