mirror of
https://github.com/vlang/v.git
synced 2025-08-05 18:57:45 -04:00
6 lines
118 B
V
6 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]
|
|
}
|