freemarker-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "smforapache (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FREEMARKER-90) Unable to parse keys of json having spaces
Date Sun, 18 Feb 2018 18:04:00 GMT
smforapache created FREEMARKER-90:
-------------------------------------

             Summary: Unable to parse keys of json having spaces
                 Key: FREEMARKER-90
                 URL: https://issues.apache.org/jira/browse/FREEMARKER-90
             Project: Apache Freemarker
          Issue Type: Bug
            Reporter: smforapache
         Attachments: getSubCategories.ftl

Trying to parse JSON having keys with spaces in freemarkerĀ template.

Sample JSONĀ :
{
 "response": {
 "categories": {
 "Daily Special": {},
 "Main Course": {}
 }
 }
}

Attached the ftl file used to parse this.
script in ftl which is failing.





--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message