27 Mar 2023 |
| Tattva joined the room. | 04:27:40 |
| sabrus changed their display name from sabrus to sabrus#2305. | 08:05:28 |
| sabrus changed their display name from sabrus#2305 to sabrus. | 08:05:31 |
| andyb#0339 changed their profile picture. | 14:52:54 |
| dslack joined the room. | 20:40:59 |
| 𝔏𝔲𝔠𝔦𝔲𝔰 𝔄. ℭ𝔞𝔰𝔱𝔲𝔰#3316 changed their profile picture. | 21:01:04 |
28 Mar 2023 |
| prestosilver#2305 changed their profile picture. | 00:29:25 |
| claude#4720 changed their display name from guhh#4720 to claude#4720. | 11:34:44 |
patitofeo | Hi all. New to NIM. Beautiful lang. | 12:53:51 |
patitofeo | can someone please help understand how to i echo the response from httpclient json? i already echo response.status. But I need to see the complete response | 12:54:02 |
Rika | response.body? | 13:40:16 |
| lufi joined the room. | 13:55:27 |
enthus1ast | A few month ago, i started to write a blogpost for the nim website about nimja.
Then life happend and it layed around.
Yesterday i found it set up a blog and published this article: https://blog.code0.xyz/posts/nimja/ | 17:00:20 |
enthus1ast | At least its posted somewhere now :) | 17:02:08 |
Phil | Out of curiosity, did anything change regarding the import thingy? | 18:01:14 |
enthus1ast | nop | 18:02:08 |
enthus1ast | e | 18:02:08 |
enthus1ast | but i was looking through your app | 18:02:25 |
enthus1ast | i still don't know how to do it properly | 18:02:56 |
enthus1ast | or, to do it at all actually | 18:03:07 |
| adk419 joined the room. | 19:03:34 |
patitofeo | THANKS! that worked perfect. Now, if response is in json format how to I access it? | 23:14:41 |
patitofeo | to( response.body ) ? | 23:15:00 |
patitofeo | JsonNode( response.body ) ? | 23:15:19 |
Yardanico#5346 | import std/json | 23:21:33 |
Yardanico#5346 | let myjsondata = parseJson(response.body) | 23:21:38 |
patitofeo | correct. That worked perfect | 23:23:55 |
patitofeo | echo parsedJsonObj["respuesta"] | 23:24:34 |
patitofeo | now im able to get individual keys | 23:24:47 |
patitofeo | thanks | 23:24:51 |