use of com.alibaba.fastjson.parser.SymbolTable in project fastjson by alibaba.
the class JSONScannerTest_symbol method test_0.
public void test_0() throws Exception {
SymbolTable symbolTable = new SymbolTable(512);
JSONScanner lexer = new JSONScanner("\"name\"");
String symbol = lexer.scanSymbol(symbolTable, '"');
Assert.assertTrue("name".equals(symbol));
lexer.close();
}
Aggregations