Hi,

We recently came across a JSON structure/format that the cJSONObject was unable to encode/create.

See below:

Code:
callbacks: {
  labelTextColor: function(tooltipItem, data) {
    return '#543453';
  },
  title : function(tooltipItems, data) {
    var title = data.labels[tooltipItems[0].index];
    return title; 
  } 
}
The JS library/class we are using requires callbacks, which are JS functions to be defined as above.

It would be nice if the following could have been done:

Code:
Send SetMemberValue of hoCallBacks "labelTextColor" jsonTypeFunction sCallbackFuncStr1
Send SetMemberValue of hoCallBacks "title"          jsonTypeFunction sCallbackFuncStr2
Thanks.