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
Post a Comment