json: fix comment (MyTitle -> ETitle) (#19719)

This commit is contained in:
Delyan Angelov 2023-10-31 18:41:21 +02:00 committed by GitHub
parent d350a6846a
commit 57a7db11bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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() {