NewJSONValue creates a new JSONVar.
(types ...string)
| 14 | |
| 15 | // NewJSONValue creates a new JSONVar. |
| 16 | func NewJSONVar(types ...string) *JSONValue { |
| 17 | return &JSONValue{ |
| 18 | types: types, |
| 19 | } |
| 20 | } |
| 21 | |
| 22 | // String returns the string representation of the JSON object. |
| 23 | func (j *JSONValue) String() string { |
no outgoing calls