mirror of
https://github.com/vlang/v.git
synced 2025-09-11 08:25:42 -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
|
family string [json: '-'] // this field will be skipped
|
||||||
age int
|
age int
|
||||||
salary f32
|
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() {
|
fn main() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user