Created
January 12, 2024 23:14
-
-
Save jd-boyd/f38c266e4606eeea0395fa8906520197 to your computer and use it in GitHub Desktop.
cuis json get example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jsonObjURL := 'https://api.github.com/repos/squeak-smalltalk/squeak.org/languages'. | |
respObj := WebClient httpGet: jsonObjURL. | |
respObj content. '{"TeX":261905,"SCSS":226665,"HTML":20292,"JavaScript":2738,"Ruby":2607}' . | |
respCont := respObj content. | |
jO := Json readFrom: (ReadStream on: respCont). | |
jO at: 'SCSS'. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment