All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jakarta.json.package-info Maven / Gradle / Ivy

There is a newer version: 2.38.0
Show newest version
/*
 * Copyright (c) 2011, 2020 Oracle and/or its affiliates. All rights reserved.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License v. 2.0, which is available at
 * http://www.eclipse.org/legal/epl-2.0.
 *
 * This Source Code may also be made available under the following Secondary
 * Licenses when the conditions for such availability set forth in the
 * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
 * version 2 with the GNU Classpath Exception, which is available at
 * https://www.gnu.org/software/classpath/license.html.
 *
 * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
 */

/**
 * Provides an object model API to process JSON.
 *
 * 

The object model API is a high-level API that provides immutable object * models for JSON object and array structures. These JSON structures are * represented as object models using the Java types {@link jakarta.json.JsonObject} * and {@link jakarta.json.JsonArray}. The interface {@code jakarta.json.JsonObject} provides * a {@link java.util.Map} view to access the unordered collection of zero or * more name/value pairs from the model. Similarly, the interface * {@code JsonArray} provides a {@link java.util.List} view to access the * ordered sequence of zero or more values from the model. * *

The object model API uses builder patterns to create and modify * these object models. The classes {@link jakarta.json.JsonObjectBuilder} and * {@link jakarta.json.JsonArrayBuilder} provide methods to create and modify models * of type {@code JsonObject} and {@code JsonArray} respectively. * *

These object models can also be created from an input source using * the class {@link jakarta.json.JsonReader}. Similarly, these object models * can be written to an output source using the class {@link jakarta.json.JsonWriter}. *

* This package includes several classes that implement other JSON related * standards: JSON Pointer, * JSON Patch, and * JSON Merge Patch. * They can be used to retrieve, transform or manipulate values in an * object model. */ package jakarta.json;





© 2015 - 2024 Weber Informatics LLC | Privacy Policy