I'm trying to read a simple JSON data, but there's a dot at the key. This is what I'm trying:
{
  "mautic.lead_post_save_update": {
    "mautic.lead_post_save_update": [
      {
        "lead": {
          "isPublished": true,
          "dateAdded": "2017-06-19T09:31:18+00:00",
          "dateModified": "2017-06-19T09:32:24+00:00",
          "createdBy": 1,
          "createdByUser": "John Doe",
          "modifiedBy": 1,
          "modifiedByUser": "John Doe",
          "id": 52,
          "points": 0,
          "color": null,
          "fields": {
            "core": {
              "title": {
                "id": "1",
My problem is the key "mautic.lead_post_save_update"
I need to read like this:
var item = item.mautic.lead_post_save_update.mautic.lead_post_save_update[0].lead.points
If I use: "mautic.lead_post_save_update" it reads as a string...
If I use: mautic.lead_post_save_update the code try to find a subnode...
I dont even know how to research for this...
Wish I made myself clear.
 
     
     
     
    