(f reflect.StructField)
| 32 | } |
| 33 | |
| 34 | func jsonFieldName(f reflect.StructField) (string, bool) { |
| 35 | s, ok, _ := parseTag(tagJSON, f) |
| 36 | return s, ok |
| 37 | } |
| 38 | |
| 39 | // structToRule looks through the tags in a struct to (1) make sure there |
| 40 | // are no duplicate tags since package json doesn't do this and it results |
no test coverage detected