mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
final linguist test
This commit is contained in:
parent
e3389e8ec1
commit
dae4c4b83f
@ -9,7 +9,7 @@ mut:
|
||||
|
||||
fn main() {
|
||||
s := '[{ "name":"Frodo", "age":25}, {"name":"Bobby", "age":10}]'
|
||||
users := json.decode( []User, s) or {
|
||||
users := json.decode([]User, s) or {
|
||||
eprintln('Failed to parse json')
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user