MCPcopy Create free account
hub / github.com/apache/solr / getStringChars

Method getStringChars

solr/solrj/src/java/org/noggit/JSONParser.java:1187–1190  ·  view source on GitHub ↗

Returns the characters of a JSON string value, decoding any escaped characters. The underlying buffer of the returned CharArr should not be modified as it may be shared with the input buffer. The returned CharArr will only be valid up until the next JSONParser method is cal

()

Source from the content-addressed store, hash-verified

1185 * JSONParser method is called. Any required data should be read before that point.
1186 */
1187 public CharArr getStringChars() throws IOException {
1188 goTo(STRING);
1189 return readStringChars();
1190 }
1191
1192 /** Reads a JSON string into the output, decoding any escaped characters. */
1193 public void getString(CharArr output) throws IOException {

Callers 1

getStringMethod · 0.95

Calls 2

goToMethod · 0.95
readStringCharsMethod · 0.95

Tested by

no test coverage detected