Marshall Schor created UIMA-4116:
------------------------------------
Summary: change format of JSON map names so they can be JavaScript
identifiers
Key: UIMA-4116
URL: https://issues.apache.org/jira/browse/UIMA-4116
Project: UIMA
Issue Type: Improvement
Components: Core Java Framework
Reporter: Marshall Schor
Assignee: Marshall Schor
Fix For: 2.7.0SDK
In Javascript, if you have an hash (map) object in a variable, e.g. "cas", you
reference the value of a key using {{ cas["keyname"] }} or, better: {{
cas.keyname }}. For the 2nd form to work, keyname must be a valid Javascript
name. Names like @views are not valid. So change these to forms e.g. _views
which are valid.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)