| 70 | return fval; |
| 71 | } |
| 72 | char *toString() const { |
| 73 | assert(getTag() == JSON_STRING); |
| 74 | return (char *)getPayload(); |
| 75 | } |
| 76 | JsonNode *toNode() const { |
| 77 | assert(getTag() == JSON_ARRAY || getTag() == JSON_OBJECT); |
| 78 | return (JsonNode *)getPayload(); |
nothing calls this directly
no test coverage detected