mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-24 18:21:38 +00:00
Intermediate... working on debora
This commit is contained in:
@ -178,7 +178,9 @@ func RegisterType(info *TypeInfo) *TypeInfo {
|
||||
continue
|
||||
}
|
||||
jsonName := field.Tag.Get("json")
|
||||
if jsonName == "" {
|
||||
if jsonName == "-" {
|
||||
continue
|
||||
} else if jsonName == "" {
|
||||
jsonName = field.Name
|
||||
}
|
||||
structFields = append(structFields, StructFieldInfo{
|
||||
|
Reference in New Issue
Block a user