Skip to content

Commit e5b7a57

Browse files
Update README.md
1 parent c825302 commit e5b7a57

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
SerialX is a powerful utility library to serialize objects in Java.
33
SerialX is improving regular Java Base64 serialization and adding serialization protocols that you can create for objects that cant be serialized using regular way. For example final non-serializable objects, 3rd party objects and others. SerialX is also JSON like "programming" language that are objects serialized into. This also allows you to serialize multiple objects into one string or also into file. But unlike to JSON, SerialX is based on determinate order of arguments or values we can say. In other words SerialX allows you to serialize **anything**, it's pretty simple to use and practically limitless.
44
## Comparison: JACKSON (Json) vs XMLEncoder (XML) vs SerialX (SerialX)
5-
Sample object
6-
`
5+
Sample object:
6+
```
77
public class Foo
88
{
99
double val1 = 55, val2 = 455.45;
@@ -43,18 +43,18 @@ public class Foo
4343
this.flag = flag;
4444
}
4545
}
46-
`
46+
```
4747
**Json:**
48-
`
48+
```
4949
{
5050
"val1" : 55,
5151
"val2" : 455.45,
5252
"val3" : 236.12,
5353
"flag" : true
5454
}
55-
`
55+
```
5656
**XML:**
57-
`
57+
```
5858
<?xml version="1.0" encoding="UTF-8"?>
5959
<java version="1.8.0_92" class="java.beans.XMLDecoder">
6060
<object class="org.some.beautiful.Foo">
@@ -72,9 +72,11 @@ public class Foo
7272
</void>
7373
</object>
7474
</java>
75-
`
75+
```
7676
**SerialX:**
77+
```
7778
org.some.beautiful.Foo 55 455.45 236.12F T;
79+
```
7880

7981
## Info
8082
* 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)