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
\- “Json” means the Java representation of a JSON object.
11
11
12
12
13
-
The class [JSON](#JSON) contains static methods for parsing/generating text in JSON format. Parser converts JSON to <aname="native"></a> **package-native** objects: **[Json object](#Json)** ( the Java representation of a JSON object )**, String, Number, Boolean, null, Object[]** - an array of the listed types. The JSON generator accept any Java object, all Java primitives and their arrays.
13
+
The class [JSON](#JSON) contains static methods for parsing/generating text in JSON format. Parser converts JSON to <aid="native"></a> **packagenative** objects: **[Json](#Json_object)** ( the Java representation of a JSON object )**, String, Number, Boolean, null, Object[]** - an array of the listed types. The JSON generator accept any Java object, all Java primitives and their arrays.
14
14
15
15
Instances of Java classes can be converted to Json object (usually empty) using [Json.converter](#Converter).
16
16
17
-
The [JsonObject](#JsonObject) abstract class and [JsonConvertible](#JsonConvertible) interface use the JavaScript-like replacer/reviver tool to convert object instance fields to or from [Json object](#Json) members.
17
+
The [JsonObject](#JsonObject) abstract class and [JsonConvertible](#JsonConvertible) interface use the JavaScript-like replacer/reviver tool to convert object instance fields to or from package native objects.
The JsonConvertible interface provdes JavaScript-like methods for conversion fields of a Java object to/from a package [native](#native) objects. Notes:
283
+
The JsonConvertible interface provdes JavaScript-like methods for conversion fields of a Java object to/from a [package native](#native) objects. Notes:
284
284
\- visibility of object fields as from the object constructor (including the privates);
285
285
\- Java transient and final fields are ignored;
286
-
\- it is strongly recommended to initialize the accessible fields and create a public default constructor;
286
+
\- it is recommended to initialize the accessible fields and create a public default constructor;
287
287
\- non-native, non Json convertible fields MUST be managed using replacer/reviver.
288
288
289
289
<pstyle="background-color: #B0C4DE;">
@@ -315,7 +315,7 @@ Applies on loading from Json object:
315
315
316
316
```java
317
317
/*
318
-
* Creating a JsonConvertible object from a HashMap
0 commit comments