Results 1 to 2 of 2

Thread: How to call Jason api in asp.net?

  1. #1
    Join Date
    Oct 2016
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How to call Jason api in asp.net?

    I want to call an api of JASON in asp.net project. How can I do that?I am using MVC framework

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,407
    Thanks
    77
    Thanked 3,432 Times in 3,393 Posts
    Blog Entries
    12

    Default

    I hope you mean JSON. And though I cannot help you with asp.net or MVC, as I'm not all that familiar with them, in fact, in that direction I only know a little bit of generic asp. But JSON itself isn't an api, rather a strict method of representing arrays and/or objects as text and converting freely back and forth between the textual representation and the object/arrays depicted by it.

    So, in theory at least, whatever you're using, if the api employs JSON text, you can extract the information in it in a wide variety of ways. Each coding system has a way to both encode and decode JSON text. Just use that to get the objects/arrays it represents and them parse them as such (as objects and/or arrays) to suit your purposes.

    Sorry I can't be more specific at this time. Does that at least make sense to you?

    A quick Google suggests:

    Code:
    Json.Decode(the_JSON_string)
    is the syntax for extracting the objects/arrays in a JSON string in asp.net

    Are you needing to also request the string?
    Last edited by jscheuer1; 11-19-2017 at 06:18 PM. Reason: merge posts
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Similar Threads

  1. Resolved Very new to PHP please help. (Thanks Jason.)
    By robin9000 in forum PHP
    Replies: 11
    Last Post: 02-09-2009, 04:49 PM
  2. Jason Calendar Do Not loaded
    By suryanto tan in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 08-23-2007, 02:21 PM
  3. Set date in Jason's calendar
    By dmomotiuk in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 08-06-2007, 05:32 PM
  4. Jason's Calender Help?
    By Hip_Hip_Array in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 03-04-2007, 11:24 PM
  5. Please Help- Jason's calendar!
    By whiteknight in forum Dynamic Drive scripts help
    Replies: 6
    Last Post: 01-04-2007, 08:57 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •