stringValue method

String stringValue()

Returns the text of a StringNode; throws a JsonNodeException for other nodes. Use asString to convert instead.

Implementation

String stringValue() => throw _wrong('a string');