How to consume json api with javascript?

Asked

Viewed 198 times

1

   [
        {
            "_id": "5c31047849793040d06003f2",
            "title": "Amanda e Anderson",
            "slug": "Adicionar",
            "price": 58
        },
        {
            "_id": "5c3104aa49793040d06003f3",
            "title": "PPP",
            "slug": "deu certo",
            "price": 4550
        },
        {
            "_id": "5c31160849793040d06003f4",
            "title": "Anderson",
            "slug": "1020",
            "price": 6580
        },
        {
            "_id": "5c312ea726e54829504df6f6",
            "title": "Paulo",
            "slug": "Adiconar",
            "price": 22.9
        }
    ] 

The goal is to search for the information with Javascript and add it inside the Textbox of C#

  • How I search for this information via javascript, means how to research information within that json?

  • Search Javascript and bring it inside the C Texbox#.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.