Any chance getting a new Spark.variable data type?

Was wondering if there was a chance that would could get a JSON type.

Which would be nice when fetching data by getting something like this.

  "cmd": "VarReturn",
  "name": "result",
  "result": {"temperature":25.15,"pressure":102989, "units": {"temperature":"C","pressure":"Pa"}},
  "coreInfo": {
    "last_app": "",
    "last_heard": "2014-12-07T16:29:00.077Z",
    "connected": true,
    "deviceID": "53ff6c066667574847242167"

Thanks :smile:

Hi @EricBrian

You can do that right now with the string type. If look around the forum for JSON examples, you can see how.

Yes, that is what I am doing now. But I would like a β€˜real’ one.