Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Not A Problem
-
None
-
None
-
None
Description
It would be nice to have a JSON binding prefix.
eg:
<t:someComponent jsonObject="json:{foo:'value1', bar:'value2'}" jsonArray="json:['foo','bar']" />
This would likely require a check for the first character as a '{' will create a JSONObject whereas a '[' will create a JSONArray.