Skip to content

Commit dfa8a5b

Browse files
committed
3.0
1 parent 52684ce commit dfa8a5b

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ Returns null, the value of the Json member, or an array element
185185
**Json getJson ( String memberName, int... indices ) throws ClassCastException, IndexOutOfBoundsException**
186186
Returns a nested Json object.
187187

188-
**String getString ( String memberName, int... indices ) throws ClassCastException, IndexOutOfBoundsException**
188+
**String getString ( String memberName, int... indices ) throws ClassCastException, IndexOutOfBoundsException**
189189
Casts member or array element to String
190190

191191
**Number getNumber ( String memberName, int... indices ) throws ClassCastException, IndexOutOfBoundsException**
@@ -316,16 +316,16 @@ Returned from the replacer/reviver methods to disable conversion by default.
316316
</p>
317317

318318
**Object replacer ( String name, Object value );**
319-
Applies on unloading to Json object:
319+
Called for each field when uploading to a Json object:
320320
\- name is object field class and name delimited with colon ( : ), value is object field value;
321321
\- the first call with the class name of this object and this object as the value;
322-
\- returns Json-supported object or IGNORE.
322+
\- returns the parameter value for default conversion, Json-supported object or IGNORE.
323323

324324
**Object reviver ( String name, Object value );**
325-
Applies on loading from Json object:
325+
Сalled for each field when loading from a Json object:
326326
\- name is object field class and name delimited with colon ( : ), value is Json-supported object;
327327
\- the first call with the class name of this object and the Json object as the value;
328-
\- returns a convertible value or IGNORE.
328+
\- returns the parameter value for default conversion, field-compatible object or IGNORE.
329329

330330
<p style="background-color: #B0C4DE;">
331331
&emsp;<b>Example:</b>
@@ -412,7 +412,8 @@ one and five tenths
412412

413413
<a id="JsonObject"></a>
414414
### Abstract class JsonObject implements JsonConvertible
415-
Java object extender. Unload/load a Java object instance to/from a [Json](#JsonClass) object. Notes:
415+
416+
The JsonObject abstract class provides JavaScript-like methods for converting Java object into or from [Json](#JsonClass) object. Notes:
416417
\- visibility of object fields as from the object constructor (including the privates);
417418
\- Java transient and final fields are ignored;
418419
\- it is strongly recommended to initialize the convertible fields;

0 commit comments

Comments
 (0)