Skip to content

Commit

Permalink
more understandable
Browse files Browse the repository at this point in the history
  • Loading branch information
h1alexbel committed Jul 8, 2023
1 parent eece172 commit 839b9c8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -303,18 +303,18 @@ You can easily transform JSON to XML using [JsonXML](https://github.com/eo-cqrs/
```

```java
final String xml = new JsonXML(new JsonOf(json), "test").asString();
final String xml = new JsonXML(new JsonOf(json), "root").asString();
```

here is XML output:

```xml
<?xml version='1.0' encoding='UTF-8'?>
<test>
<root>
<test>true</test>
<simple>true</simple>
<project>eokson-0.3.2</project>
</test>
</root>
```

Also, you can integrate `eokson` with [jcabi-xml](https://github.com/jcabi/jcabi-xml):
Expand Down

0 comments on commit 839b9c8

Please sign in to comment.