(dec *Decoder, k string)
| 209 | } |
| 210 | |
| 211 | func (s *SQLDecodeObject) UnmarshalJSONObject(dec *Decoder, k string) error { |
| 212 | switch k { |
| 213 | case "s": |
| 214 | return dec.AddSQLNullString(&s.S) |
| 215 | case "f": |
| 216 | return dec.AddSQLNullFloat64(&s.F) |
| 217 | case "i": |
| 218 | return dec.AddSQLNullInt64(&s.I) |
| 219 | case "b": |
| 220 | return dec.AddSQLNullBool(&s.B) |
| 221 | } |
| 222 | return nil |
| 223 | } |
| 224 | |
| 225 | func (s *SQLDecodeObject) NKeys() int { |
| 226 | return 0 |
nothing calls this directly
no test coverage detected