public class JsonConfigParser extends AbstractConfigParser
| 构造器和说明 |
|---|
JsonConfigParser() |
| 限定符和类型 | 方法和说明 |
|---|---|
Map<Object,Object> |
doParse(String content)
Parse content.
|
Map<Object,Object> |
doParse(String content,
String prefix)
Parse content.
|
List<ConfigFileTypeEnum> |
types()
Type: yaml, properties...
|
supportspublic List<ConfigFileTypeEnum> types()
ConfigParserpublic Map<Object,Object> doParse(String content) throws IOException
ConfigParsercontent - contentIOException - if occurs error while parsingpublic Map<Object,Object> doParse(String content, String prefix) throws IOException
ConfigParserdoParse 在接口中 ConfigParserdoParse 在类中 AbstractConfigParsercontent - contentprefix - key prefixIOException - if occurs error while parsingCopyright © 2025. All rights reserved.