1
0
dust/examples/fetch.ds

9 lines
202 B
Plaintext

raw_data = (download "https://api.sampleapis.com/futurama/cast")
cast_data = (from_json raw_data)
names = transform cast_member in cast_data {
cast_member.name
}
(assert_equal "Billy West", names.0)