WeakString is a type that unmarshals any JSON value as a string literal, with the following exceptions: 1. actual string values are decoded as strings; and 2. null is decoded as empty string; and provides methods for getting the value as various primitive types. However, using this type removes an
| 160 | // primitive types. However, using this type removes any |
| 161 | // type safety as far as deserializing JSON is concerned. |
| 162 | type WeakString string |
| 163 | |
| 164 | // UnmarshalJSON satisfies json.Unmarshaler according to |
| 165 | // this type's documentation. |
no outgoing calls
no test coverage detected