(w io.Writer, i interface{})
| 3162 | } |
| 3163 | |
| 3164 | func mustEncode(w io.Writer, i interface{}) { |
| 3165 | if JSONImpl != nil && JSONImpl.GetManagerOptions()["jsonImpl"] != "std" { |
| 3166 | MustEncodeWithParser(w, i) |
| 3167 | } else { |
| 3168 | rest.MustEncode(w, i) |
| 3169 | } |
| 3170 | } |
| 3171 | |
| 3172 | // MustEncodeWithParser encode with the registered parserType, |
| 3173 | func MustEncodeWithParser(w io.Writer, i interface{}) { |
no test coverage detected