N
N
narkesss2018-08-21 11:43:22
JavaScript
narkesss, 2018-08-21 11:43:22

How to parse json jq?

$.ajax({
    
      dataType: 'json',
      success: function (data) {
      // console.log(data)
      var data = JSON.parse(data);

      },
      error: function (jqXHR, exception) {
        console.log('error')
      }
    })

Console
5b7bd04f27d44391716837.png
5b7bd05b4088c604985460.png
in color color
In image format
How to get them and put them in the right sections, tell the noob 1 time I encountered this

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
eternalfire, 2018-08-21
@narkesss

data.colors

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question