broprog's Forum Posts

  • why do u have double double quotes or quad single quotes?

  • Hey, is it even possible to maybe load a JSON from a text variable?

  • read a lot of stuff and get no straight anwsers and stuff like yours haha

  • doesn't make sense? so how do u load JSON variable/data in and access it by key/value?

  • JSON parsing is a wild goose chase w. no straight answers in C2 haha!

  • mindfaQ, i installed rex_csv.7z

    i IDE programmed it to load AJAX.LastData containing the JSON above.

    So its like CSV.At(key, 0) like that to get value? or is there another step or plugin to drive more people crazy?

  • mindfaQ, is your suggestion of a solution a two-step or like a two-plugin solution?

    No clear answer and description. so please clarify.

  • i really appreciate it. is this a certain solution?

    the JSON is flat, so looking to just accessing key/value. thanks.

    or anyone else have a straight answer on this QUES. thanks again.

  • its so confusing. so can i get some straight answer please.

    no one has a direct answer on a direct JSON solution, what gives??

    I have a JSON like below, (flat structure and all), then what is the best way to load it from URL and read the key/value? thanks

    [{"id":"42","pct":"691th","phone":"17222576211","fax":"","email":"","address":"9720 Foster Avenue","lat":"40.6484","lng":"-73.9049","borough":"queens","city":"nyc","state":"ny","distance":"0.5231590272587"},{"id":"38","precinct":"63rd Pct","phone":"17222584412","fax":"","email":"","address":"1844 Brooklyn Avenue","lat":"40.6281","lng":"-73.9414","borough":"queens","city":"jersey city","state":"ny","distance":"1.854571460077"}]

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • how do i set this C2 forum settings to send email to me when my msg gets a reply? thanks

  • no doubt, man, will help new devs.

  • where should I host the capx file? can't insert here.

  • would like to know some method to read in this JSON from URL and then access each its key/value. looking for tutorial or sample code. thanks!

    [{"id":"42","pct":"69th","phone":"17182576211","fax":"","email":"","address":"9720 Foster Avenue","lat":"40.6484","lng":"-73.9049","borough":"queens","city":"nyc","state":"ny","distance":"0.5231590272587"},{"id":"38","precinct":"63rd Pct","phone":"17182584412","fax":"","email":"","address":"1844 Brooklyn Avenue","lat":"40.6281","lng":"-73.9414","borough":"queens","city":"jersey city","state":"ny","distance":"1.854571460077"}]

  • cool!