Skip to content

Commit 7a96772

Browse files
Update README.md
1 parent 86b3e2c commit 7a96772

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,14 @@ org.some.beautiful.Foo 55D 455.45 236.12F T;
8282
Maybe it is a question of formating but SerialX will be the shortest one anyway. Because instead of having some sort of key to the value you simply have its order (index)!
8383
And value's data type is specified by suffix if it is a primitive data type or simply by package name as the first argument in case of an object! Other arguments (count, order, type) are then specified by a SerializationProtocol! Generally, one line means one object, one value (separated by spaces) means one argument! <br>
8484
Note: Since there is variable system in 1.5.0, the order of values is now not the only option to obtain an object or value!
85+
Since 1.5.0 also something like this might come to mind: <br>
86+
```
87+
val1 = 55D;
88+
val2 = 455.45;
89+
val3 = 236.12F;
90+
flag = T;
91+
```
92+
But this will be far less eficient than protocol solution and will most likely required you to write more code to make it actualy obtain an Foo object from those variables...
8593
<br>
8694
## Info
8795
* If you want to add or see issues just click on [Issues section](https://github.com/PetoPetko/Java-SerialX/issues) in up.

0 commit comments

Comments
 (0)