mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
final linguist test
This commit is contained in:
parent
e3389e8ec1
commit
dae4c4b83f
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue