Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/json/14.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java 寻找JsonParser依赖项_Java_Json - Fatal编程技术网

Java 寻找JsonParser依赖项

Java 寻找JsonParser依赖项,java,json,Java,Json,我已经知道JsonParser在javax.json.stream中,但我不知道在哪里可以找到它。有人能帮我吗 那就是我要找的图书馆 我尝试查看maven存储库,发现了类似的东西,称为javax.jsonapi,但它不包含JsonParser 如果您使用的是maven,那么可以添加以下依赖项 <dependency> <groupId>javax</groupId> <artifactId>javaee-api</artifac

我已经知道JsonParser在javax.json.stream中,但我不知道在哪里可以找到它。有人能帮我吗

那就是我要找的图书馆


我尝试查看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