Hacker News new | past | comments | ask | show | jobs | submit login

I think you're looking for this http://www.jasonclient.org/doc/#template-reference

you can use javascript expressions inside templates so everything you mentioned is possible using javascript.

Here's an example of javascript usage inside a template http://www.jasonbase.com/things/xLZ/edit

Here's an example usage of a template that iterates through a data fetched from network request http://www.jasonbase.com/things/a8b/edit

Just to be clear, this is not HTML and has nothing to do with WebView. The JSON is used to directly manipulate native elements like UIStackView, UITableView, etc. and that's the whole point. Hope this makes sense...




Thanks for the clarification - I knew that, but somehow forgot. Probably because they look similar, following similar function (i.e. layout).

Yes, escape to javascript addresses my concerns.

Good!




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: