ReadJSON reads the next JSON-encoded message from the connection and stores it in the value pointed to by v. Deprecated: Use c.ReadJSON instead.
(c *Conn, v interface{})
| 38 | // |
| 39 | // Deprecated: Use c.ReadJSON instead. |
| 40 | func ReadJSON(c *Conn, v interface{}) error { |
| 41 | return c.ReadJSON(v) |
| 42 | } |
| 43 | |
| 44 | // ReadJSON reads the next JSON-encoded message from the connection and stores |
| 45 | // it in the value pointed to by v. |