how to access an array of objects in jade, passed through the jade command line -



how to access an array of objects in jade, passed through the jade command line -

i can pass array of object through jade command line

jade.js -p --obj "[{\"field1\":2,\"field2\":\"valstring/obj2\"},{\"field1\":3,\"field2\":\"valstri 3\"}]" inventaire-all.jade

how can access 2 object jade template file ?

thanks help

if object, utilize file (say input.json) object in json format , give filename input.

jade

Comments

Popular posts from this blog

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

mediawiki - How do I insert tables inside infoboxes on Wikia pages? -

Local Service User Logged into Windows -