Reference website:
one https://blog.csdn.net/z745968621/article/details/50474969
two https://blog.csdn.net/jadyer/article/details/24395015 (reference website of the above website)
1. Error information:
API Documentation:
com.alibaba.fastjson.JSONException: syntax error, expect {, actual [, pos 0
Com.alibaba.fastjson.jsonexception: syntax error, expected {, actual [, position 0
2. Error reporting reason:
This error is encountered when parsing using fastjson. There is entity B in the parsed entity A. in this JSON, there is only one entity a, but there are multiple entities B, resulting in parsing errors.
3. Error reporting solution:
When B entity is defined in a entity, it is defined as list & lt; B & gt;.
My idea is to write another method locally to read the configid from the table through areaid. Because the problem involved is the QT process, I only need to get the configid.
Similar Posts:
- 「ImportError: libcublas.so.10.0: cannot open shared object file: No such file or directory」
- fastjson java.lang.StackOverflowError [How to Solve]
- 【complier/asm】impossible constraint in ‘asm’ error
- Installing mingw64 and msys2 in win10
- FTP upload file error: failure writing to local file
- [How to Solve] invalid argument: Nan in summary histogram for: image_pooling/BatchNorm/moving_variance_1
- Kubernetes: 413 request entity too large
- bash :startx command not found
- An error is reported when the SVN is submitted. The prompt is locked and cleanup is required
- [Solved] org.apache.ibatis.binding.BindingException: Parameter ‘area_id’ not found. Available parameters are [areaId, param1]