title: JSON Object to Array Javascript Lodash parsing
body: <p>I have following JSON </p>
  
  <pre><code>  {
      SYS1_DATA: "s-1,s2,s3,\ns-4,s-5,s-6,s-7",
      SYS2_DATA: "s1,s2,s3,\ns4,s5,s6,s7",
      COMPARE: [
        {
          cell_no: 2,
          line_no: 0
        },
        {
          cell_no: 3,
          line_no: 1
        },
        {
          cell_no: 4,
          line_no: 1
        }
      ]
    },
    {
      SYS1_DATA: "cs-1,cs2,cs3,\ncs-4,cs-5,cs-6,cs-7",
      SYS2_DATA: "cs1,cs2,cs3,\ncs4,cs5,cs6,cs7",
      COMPARE: [
        {
          cell_no: 2,
          line_no: 1
        }
      ]
    }
  ];
  </code></pre>
  
  <p>here my requirement is to parse this object and HIGHLIGHT specific cells back to UI from compare reference. (this is similar like DIFF feature but more customized to specific requirement)</p>
  
  <p>USE case is  - Syn1data and Sync2data both I need to compare and there is a possible list of them (as shared in JSON), 
  case 1: Parse all data covert syn1data and sync2data to the array and highlight the specific cell with cell no and from line no (pick this info from Compare array). 
  case 2: expected output will be like this example  </p>
  
  <pre><code>SYS1_DATA: "s-1,s2,s3,\n&lt;span class='error'&gt;s-4&lt;/span&gt;,s-5,s-6,s-7",
  SYS2_DATA: "s1,s2,s3,\n&lt;span class='error'&gt;s4&lt;/span&gt;,s5,s6,s7",
  </code></pre>
  
  <p>to show different in cell values.
  here is my inprocess codexandbox link -> <a href="https://codesandbox.io/s/logic-1-6bkgs?file=/src/index.js" rel="nofollow noreferrer">https://codesandbox.io/s/logic-1-6bkgs?file=/src/index.js</a></p>
  
  <p>is there any library I can use here for this purpose? 
  Thanks</p>