修改analysisJson方法的权限级别,改为public
This commit is contained in:
parent
bfb53a51a5
commit
0e5e111a91
|
@ -211,7 +211,7 @@ public class JsonLocation extends AbstractLocation {
|
|||
* @param text json文本
|
||||
* @throws UndefinedElementException json中无元素信息时抛出的异常
|
||||
*/
|
||||
protected void analysisJson(String text) {
|
||||
public void analysisJson(String text) {
|
||||
//将文件解析成JSONObject类对象
|
||||
JSONObject json = JSONObject.parseObject(text);
|
||||
|
||||
|
|
Loading…
Reference in New Issue