You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CBOR/docs.xml
+3-4Lines changed: 3 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1799,7 +1799,7 @@
1799
1799
<remarks>
1800
1800
<para><b>Converting CBOR objects</b></para>
1801
1801
<para>There are many ways to get a CBOR object, including from
1802
-
bytes, objects, streams and JSON, as described below.</para>
1802
+
bytes, objects, streams and JSON, as described later.</para>
1803
1803
<para><b>To and from byte arrays:</b> The
1804
1804
CBORObject.DecodeFromBytes method converts a byte array in CBOR
1805
1805
format to a CBOR object. The EncodeToBytes method converts a CBOR
@@ -1980,7 +1980,7 @@
1980
1980
<summary>Returns a copy of this object after applying the
1981
1981
operations in a JSON patch, in the form of a CBOR object. JSON
1982
1982
patches are specified in RFC 6902 and their format is summarized in
1983
-
the remarks below.</summary>
1983
+
the remarks given later.</summary>
1984
1984
<paramname='patch'>A JSON patch in the form of a CBOR object; it
1985
1985
has the form summarized in the remarks.</param>
1986
1986
<returns>The result of the patch operation.</returns>
@@ -3983,8 +3983,7 @@
3983
3983
<item>Then, the method returns a CBOR map with each eligible
3984
3984
getter's name or property name as each key, and with the
3985
3985
corresponding value returned by that getter as that key's value.
3986
-
Before adding a key-value pair to the map, the key's name is
3987
-
adjusted according to the rules described in the <seecref='PeterO.Cbor.PODOptions'/> documentation. Note that for
3986
+
Before adding a key-value pair to the map, the key's name adjusts according to the rules described in the <seecref='PeterO.Cbor.PODOptions'/> documentation. Note that for
3988
3987
security reasons, certain types are not supported even if they
Copy file name to clipboardExpand all lines: docs/PeterO.Cbor.CBORObject.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ Represents an object in Concise Binary Object Representation (CBOR) and contains
8
8
9
9
<b>Converting CBOR objects</b>
10
10
11
-
There are many ways to get a CBOR object, including from bytes, objects, streams and JSON, as described below.
11
+
There are many ways to get a CBOR object, including from bytes, objects, streams and JSON, as described later.
12
12
13
13
<b>To and from byte arrays:</b> The CBORObject.DecodeFromBytes method converts a byte array in CBOR format to a CBOR object. The EncodeToBytes method converts a CBOR object to its corresponding byte array in CBOR format.
14
14
@@ -630,7 +630,7 @@ This object is not an array.
630
630
public PeterO.Cbor.CBORObject ApplyJSONPatch(
631
631
PeterO.Cbor.CBORObject patch);
632
632
633
-
Returns a copy of this object after applying the operations in a JSON patch, in the form of a CBOR object. JSON patches are specified in RFC 6902 and their format is summarized in the remarks below.
633
+
Returns a copy of this object after applying the operations in a JSON patch, in the form of a CBOR object. JSON patches are specified in RFC 6902 and their format is summarized in the remarks given later.
634
634
635
635
<b>Remarks:</b> A JSON patch is an array with one or more maps. Each map has the following keys:
636
636
@@ -2527,7 +2527,7 @@ Generates a CBORObject from an arbitrary object, using the specified options to
2527
2527
2528
2528
* (*) In the Java version, eligible getters are public, nonstatic methods starting with "get" or "is" (either word followed by a character other than a basic digit or lowercase letter, that is, other than "a" to "z" or "0" to "9"), that take no parameters and do not return void, except that methods named "getClass" are not eligible getters. In addition, public, nonstatic, nonfinal fields are also eligible getters. If a class has two otherwise eligible getters (methods and/or fields) of the form "isX" and "getX", where "X" is the same in both, or two such getters with the same name but different return type, they are not eligible getters.
2529
2529
2530
-
* Then, the method returns a CBOR map with each eligible getter's name or property name as each key, and with the corresponding value returned by that getter as that key's value. Before adding a key-value pair to the map, the key's name is adjusted according to the rules described in the [PeterO.Cbor.PODOptions](PeterO.Cbor.PODOptions.md) documentation. Note that for security reasons, certain types are not supported even if they contain eligible getters.
2530
+
* Then, the method returns a CBOR map with each eligible getter's name or property name as each key, and with the corresponding value returned by that getter as that key's value. Before adding a key-value pair to the map, the key's name adjusts according to the rules described in the [PeterO.Cbor.PODOptions](PeterO.Cbor.PODOptions.md) documentation. Note that for security reasons, certain types are not supported even if they contain eligible getters.
2531
2531
2532
2532
<b>REMARK:</b> .NET enumeration ( `Enum` ) constants could also have been converted to text strings with `ToString()` , but that method will return multiple names if the specified Enum object is a combination of Enum objects (for example if the object is `FileAccess.Read | FileAccess.Write` ). More generally, if Enums are converted to text strings, constants from Enum types with the `Flags` attribute, and constants from the same Enum type that share an underlying value, should not be passed to this method.
0 commit comments