Java 寻找JsonParser依赖项
我已经知道JsonParser在javax.json.stream中,但我不知道在哪里可以找到它。有人能帮我吗 那就是我要找的图书馆Java 寻找JsonParser依赖项,java,json,Java,Json,我已经知道JsonParser在javax.json.stream中,但我不知道在哪里可以找到它。有人能帮我吗 那就是我要找的图书馆 我尝试查看maven存储库,发现了类似的东西,称为javax.jsonapi,但它不包含JsonParser 如果您使用的是maven,那么可以添加以下依赖项 <dependency> <groupId>javax</groupId> <artifactId>javaee-api</artifac
我尝试查看maven存储库,发现了类似的东西,称为
javax.jsonapi
,但它不包含JsonParser 如果您使用的是maven,那么可以添加以下依赖项
<dependency>
<groupId>javax</groupId>
<artifactId>javaee-api</artifactId>
<version>7.0</version>
</dependency>
该站点向您展示了不同构建系统的不同依赖关系
请注意,这只是一种可能的依赖关系。您当然可以找到更小的依赖项,它们只包含您想要的类。只需在google或mavencentral上搜索即可。如果您使用的是Json simple,请使用下面的maven依赖项。
If you are using Json-simple , use the below maven dependency.
<dependency>
<groupId>com.googlecode.json-simple</groupId>
<artifactId>json-simple</artifactId>
<version>1.1</version>
</dependency>
Link:https://mvnrepository.com/artifact/com.googlecode.json-simple/json-simple/1.1
com.googlecode.json-simple
简单json
1.1
链接:https://mvnrepository.com/artifact/com.googlecode.json-simple/json-simple/1.1
If you are using Json-simple , use the below maven dependency.
<dependency>
<groupId>com.googlecode.json-simple</groupId>
<artifactId>json-simple</artifactId>
<version>1.1</version>
</dependency>
Link:https://mvnrepository.com/artifact/com.googlecode.json-simple/json-simple/1.1