mirror of
https://github.com/vlang/v.git
synced 2025-09-14 06:52:36 +03:00
5 lines
118 B
V
5 lines
118 B
V
import x.json2.decoder2 as json
|
|
|
|
fn test_array_of_strings() {
|
|
assert json.decode[[]int]('[1, 2, 3]')! == [1, 2, 3]
|
|
}
|