Results 1 to 2 of 2

Thread: How to parse JSON?

  1. #1
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default How to parse JSON?

    I'm trying to parse a 1 dimensional JSON object.
    Does Simba have a hash/dictionary data structure, would a TStringArray maybe work?
    #JSONtoDic

    Example Page:
    http://stats.villavu.com/api/user/235/script/21

    I've got this so far

    Simba Code:
    program new;

    var
      info:string;

    begin
      info := GetPage('http://stats.villavu.com/api/user/235/script/21');
      writeln(info)
    end.

    E:
    Found this, testing it out. Thanks @CynicRus;!
    https://villavu.com/forum/showthread.php?t=106336
    Last edited by YoHoJo; 08-11-2016 at 09:56 PM.

  2. #2
    Join Date
    Sep 2006
    Posts
    6,089
    Mentioned
    77 Post(s)
    Quoted
    43 Post(s)

    Default

    @CynicRus; added JSON functions to Simba 1.2+ https://villavu.com/forum/showthread...94#post1377394.
    Hup Holland Hup!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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