public class JsonStringDecoder
extends Object
Decodes JSON string escape sequences from character buffers.
| Type Params | Return Type | Name and description |
|---|---|---|
|
public static String |
decode(char[] chars, int start, int to)Decodes a JSON string slice, avoiding extra work when no escapes are present. |
|
public static String |
decodeForSure(char[] chars, int start, int to)Decodes a JSON string slice assuming escape processing may be required. |
Decodes a JSON string slice, avoiding extra work when no escapes are present.
chars - source character bufferstart - inclusive start indexto - exclusive end indexDecodes a JSON string slice assuming escape processing may be required.
chars - source character bufferstart - inclusive start indexto - exclusive end index