@@ -2491,8 +2491,8 @@ public static CBORObject FromObject(
24912491 * getters.</li><li>Then, the method returns a CBOR map with each eligible
24922492 * getter's name or property name as each key, and with the corresponding value
24932493 * returned by that getter as that key's value. Before adding a key-value pair
2494- * to the map, the key's name adjusts according to the rules described in
2495- * the {@link com.upokecenter.cbor.PODOptions} documentation. Note that for
2494+ * to the map, the key's name adjusts according to the rules described in the
2495+ * {@link com.upokecenter.cbor.PODOptions} documentation. Note that for
24962496 * security reasons, certain types are not supported even if they contain
24972497 * eligible getters.</li></ul> <p><b>REMARK:</b> .NET enumeration ({@code
24982498 * Enum}) constants could also have been converted to text strings with {@code
@@ -4851,21 +4851,21 @@ public CBORObject AtJSONPointer(String pointer, CBORObject defaultValue) {
48514851 /**
48524852 * <p>Returns a copy of this object after applying the operations in a JSON
48534853 * patch, in the form of a CBOR object. JSON patches are specified in RFC 6902
4854- * and their format is summarized in the remarks given later.</p> <p><b>Remarks:</b>
4855- * A JSON patch is an array with one or more maps. Each map has the following
4856- * keys: </p> <ul> <li>"op" - Required. This key's value is the patch operation
4857- * and must be "add", "remove", "move", "copy", "test", or "replace", in basic
4858- * lowercase letters and no other case combination.</li><li>"value" - Required
4859- * if the operation is "add", "replace", or "test" and specifies the item to
4860- * add (insert) , or that will replace the existing item, or to check an
4861- * existing item for equality, respectively. (For "test", the operation fails
4862- * if the existing item doesn't match the specified value.)</li><li>"path" -
4863- * Required for all operations. A JSON Pointer (RFC 6901) specifying the
4864- * destination path in the CBOR object for the operation. For more information,
4865- * see RFC 6901 or the documentation for AtJSONPointer(pointer,
4866- * defaultValue).</li><li>"from" - Required if the operation is "move" or
4867- * " copy". A JSON Pointer (RFC 6901) specifying the path in the CBOR object
4868- * where the source value is located.</li></ul>
4854+ * and their format is summarized in the remarks given later.</p>
4855+ * <p><b>Remarks:</b> A JSON patch is an array with one or more maps. Each map
4856+ * has the following keys: </p> <ul> <li>"op" - Required. This key's value is
4857+ * the patch operation and must be "add", "remove", "move", "copy", "test", or
4858+ * "replace", in basic lowercase letters and no other case
4859+ * combination.</li><li>"value" - Required if the operation is "add",
4860+ * "replace" , or "test" and specifies the item to add (insert) , or that will
4861+ * replace the existing item, or to check an existing item for equality,
4862+ * respectively. (For "test", the operation fails if the existing item doesn't
4863+ * match the specified value.)</li><li>"path" - Required for all operations. A
4864+ * JSON Pointer (RFC 6901) specifying the destination path in the CBOR object
4865+ * for the operation. For more information, see RFC 6901 or the documentation
4866+ * for AtJSONPointer(pointer, defaultValue).</li><li>"from" - Required if the
4867+ * operation is "move" or " copy". A JSON Pointer (RFC 6901) specifying the path
4868+ * in the CBOR object where the source value is located.</li></ul>
48694869 * @param patch A JSON patch in the form of a CBOR object; it has the form
48704870 * summarized in the remarks.
48714871 * @return The result of the patch operation.
0 commit comments