Switch to English?
Yes
Переключитись на українську?
Так
Переключиться на русскую?
Да
Przełączyć się na polską?
Tak
Post your project for free and start getting offers from freelance performers within minutes after posting!

JSON


Applications 2

App view is available only registered users.
The client does not want to make a prepayment? Payment via Safe help avoid possible fraud.
  1. 23196
     458  21

    1 day5 USD

    Приветствую!

    Сделаю быстро и качественно

    Обращайтесь - буду рад сотрудничеству

  2. 447    2  0
    1 day5 USD

    Добрый день, могу помочь, недавно переносил данные из 500 файлов JSON в excel таблицу, обращайтесь

  3. 1446    115  2   1
    1 day5 USD

    Здравствуйте, готов помочь, обращайтесь
    ____________________________________________

  4. 3124    88  3   4
    1 day5 USD

    Здравствуйте, Антон
    Готов вам помочь получить данные из json.

    С уважением, Юрий

  5. 2 more hidden bids
    1 bid hidden
  • Profile deleted
    17 May 2021, 13:14 |

    Могу помочь

  • Serhii Martinenko
    17 May 2021, 13:58 |
    item.src
    item.title
    item.link

    Если захотите отблагодарить карту могу скинуть в личку)

  • Anton Kuksa
    17 May 2021, 14:18 |

    увы но не работает)))


    если посмотрите на сам json  файл, то там чтобы добраться к например к src  - нужно как то пройти styles. вот собственно я и не знаю как этот путь указать в 

    src=${src}

  • Serhii Martinenko
    17 May 2021, 14:39 |

    var request = new XMLHttpRequest();
            request.open('GET', 'https://content.freelancehunt.com/projectsnippet/576d6/109a6/338754/styles.json');
            request.setRequestHeader('Content-type', 'application/json; charset=utf-8');
            request.send();


            request.addEventListener('readystatechange', function () {

                if (request.readyState === 4 && request.status == 200) {  
                response =  $.parseJSON(request.response);          
                    $.each(response.styles, function(i, item) {
                        console.log(item.src);
                        console.log(item.title);
                        console.log(item.link);
                    });
                }
            });


    image


    Только подогнать под Вашу задачу

  • Profile deleted
    17 May 2021, 14:42 |

    а зачем в jason файле вы написали 

      "styles": [ квадратные скобки, вы хотели сделать массив ?

            

  • Profile deleted
    17 May 2021, 15:03 |

       var styles=[  {

                "src": "assets/img/styles-5.jpg",

                "title": "Пастелью",

                "link": "#pastel"

            },

            {

                "src": "assets/img/styles-6.jpg",

                "title": "Поп-арт",

                "link": "#popart"

            },

         {

                "src": "assets/img/styles-7.png",

                "title": "Фотомозаика",

                "link": "#mozaika"

            },

           {

                "src": "assets/img/styles-8.jpg",

                "title": "Шарж",

                "link": "#sharj"

            }

          ];

      for(var key in styles){

        /*выводим каждый src*/

          console.log(styles[key]['src'])

    }

    Есть еще вариант , попробовала ваш массив обектов

Current freelance projects in the category JavaScript

Exchange service

510 USD

There are working exchangers, it is necessary to rely on the example, make a cryptocurrency exchanger: Design and code can be taken completely from a working website, that is - make a copy. The exchange rate and other data for the exchange - what I could set manually. The…

JavaScriptWeb programming ∙ 2 proposals

Writing software for creating an Open Book on the Solana network

107 USD

During the creation of interchangeable tokens (SPL token) on the Solana network, it is necessary to automate the process of creating an Open Book for the token and speed it up by increasing transaction fees. Software functions: - Create Open Book - Set a "tea" limit on the…

JavaJavaScript

Website layout according to the design.

510 USD

Good day. There is a layout in Figma: https://www.figma.com/file/RGVIymprYc4QaiJ5qp3iwL/LayerGame?type=design&node-id=0-1&mode=design There is a UI kit and a ready-made layout of the Main page, implemented in React, animations are done using GSAP. It is necessary to layout 2…

HTML and CSSJavaScript ∙ 34 proposals

Parallax

It is necessary to make such a parallax as here https://www.bangbangforever.com/#artists, that is, a video block video (everything is already laid out) and also part of the parallax is ready, stack Next.js

JavaScript ∙ 1 proposal

Set up Facebook Pixel and Google Analytics events on the website

Set up Facebook Pixel and Google Analytics events on the website. Do this through the website admin panel, simply add scripts there or through GTM.

JavaScriptWeb programming ∙ 7 proposals

Client
Anton Kuksa
Denmark Denmark  18  0
Project published
2 years ago
90 views