在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:stleary/JSON-java开源软件地址:https://github.com/stleary/JSON-java开源编程语言:Java 100.0%开源软件介绍:image credit: Ismael Pérez Ortiz JSON in Java [package org.json]Click here if you just want the latest release jar file. OverviewJSON is a light-weight language-independent data interchange format. The JSON-Java package is a reference implementation that demonstrates how to parse JSON documents into Java objects and how to generate new JSON documents from the Java classes. Project goals include:
The files in this package implement JSON encoders and decoders. The package can also convert between JSON and XML, HTTP headers, Cookies, and CDL. The license includes this restriction: "The software shall be used for good, not evil." If your conscience cannot live with that, then choose a different package. If you would like to contribute to this projectFor more information on contributions, please see CONTRIBUTING.md Bug fixes, code improvements, and unit test coverage changes are welcome! Because this project is currently in the maintenance phase, the kinds of changes that can be accepted are limited. For more information, please read the FAQ. Build InstructionsThe org.json package can be built from the command line, Maven, and Gradle. The unit tests can be executed from Maven, Gradle, or individually in an IDE e.g. Eclipse. Building from the command line Build the class files from the package root directory src/main/java
Create the jar file in the current directory
Compile a program that uses the jar (see example code below)
Test file contents
Execute the Test file
Expected output
Tools to build the package and execute the unit tests Execute the test suite with Maven:
Execute the test suite with Gradlew:
NotesFor more information, please see NOTES.md FilesFor more information on files, please see FILES.md Release history:For the release history, please see RELEASES.md |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论