类 JsonParser
java.lang.Object
com.infilake.openapi.bidding.parser.JsonParser
Lightweight JSON parser using only Java standard library
This parser is designed specifically for InfiLake OpenAPI responses.
It supports basic JSON parsing without external dependencies.
Limitations:
- No support for escaped unicode sequences
- Assumes well-formed JSON from the API
- Focused on reading, not writing JSON
-
方法概要
-
方法详细资料
-
parse
Parse a JSON string to a Java object- 参数:
json- JSON string to parse- 返回:
- Parsed object (Map, List, String, Number, Boolean, or null)
-
parseObject
Parse a JSON string to a Map- 参数:
json- JSON string to parse- 返回:
- Parsed Map, or null if input is null/empty
-
parseArray
Parse a JSON array string to a List- 参数:
json- JSON array string to parse- 返回:
- Parsed List, or null if input is null/empty
-