JSON Parsed in complex dynamic object not getting rendered in HTML

64 views
Skip to first unread message

Nikhil Deshkar

unread,
Oct 5, 2017, 12:40:19 PM10/5/17
to dotliquid
hi,
In our project we are trying to using dotLiquid. Client sends the JSON which has Complex arrays e.g. below and is parsed into C# dynamic object

 "Forms": [
    {

      "FormName": "TEST",
      "FormNumber": "CX 21 30",
      "Edition": "01 15",
      "FileName": "CX 21 30 01 15",
    },
  
  ]

However while trying to render the dynamic object using dotLiquid   {% for form in Forms %} the values are not getting parsed in HTML e.g. {{form.FormName}}

     {% for form in Forms %}
                <div _ngcontent-c51="" class="row no-pad margin-bottom-30">
                    <div _ngcontent-c51="" class="col-md-12">
                        <div _ngcontent-c51="" class="row pdf-form-row">
                            <div _ngcontent-c51="" class="col-md-3 col-sm-3">
                                <p _ngcontent-c51="" class="pdf-form-text1" style="border:none;">{{form.FormName}}</p>
                            </div>
                        </div>
                    </div>
                </div>
                <div _ngcontent-c51="" class="row no-pad margin-bottom-30">
                </div>
                {% endfor %}

Please let me know if I am missing on something. 

Quick help will be greatly appreciated.
 
Reply all
Reply to author
Forward
0 new messages