mirror of
https://github.com/vlang/v.git
synced 2025-09-09 07:15:50 -04:00
json: fix comment (MyTitle -> ETitle) (#19719)
This commit is contained in:
parent
d350a6846a
commit
57a7db11bf
@ -24,7 +24,7 @@ mut:
|
||||
family string [json: '-'] // this field will be skipped
|
||||
age int
|
||||
salary f32
|
||||
title JobTitle [json: 'ETitle'] // the key for this field will be 'MyTitle', not 'title'
|
||||
title JobTitle [json: 'ETitle'] // the key for this field will be 'ETitle', not 'title'
|
||||
}
|
||||
|
||||
fn main() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user