tree-sitter-dust/examples/fetch.ds

5 lines
141 B
Plaintext
Raw Normal View History

2023-10-01 06:43:42 +00:00
raw_data = download <"https://api.sampleapis.com/futurama/cast">
dust_data = from_json <raw_data>
2023-09-29 15:56:07 +00:00
2023-10-01 06:43:42 +00:00
assert_equal <"Billy West", data.0.name>