Skip to content

Commit d3cfec1

Browse files
committed
improve link
1 parent fb80ed0 commit d3cfec1

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ To use module on Maven-based projects, use following dependency:
1818
<dependency>
1919
<groupId>com.fasterxml.jackson.datatype</groupId>
2020
<artifactId>jackson-datatype-joda</artifactId>
21-
<version>2.1.1</version>
21+
<version>2.3.0</version>
2222
</dependency>
2323
```
2424

@@ -35,8 +35,13 @@ mapper.registerModule(new JodaModule());
3535
```
3636

3737
after which functionality is available for all normal Jackson operations:
38-
you can read JSON as Joda types, as well as write Joda values as JSON.
38+
you can read JSON as Joda types, as well as write Joda values as JSON, so that for example:
39+
40+
```java
41+
DateTime now = new DateTime();
42+
String json = mapper.writeValueAsString(now);
43+
```
3944

4045
## More
4146

42-
See [Wiki](../wiki) for more information (javadocs, downloads).
47+
See [Wiki](../../wiki) for more information (javadocs, downloads).

0 commit comments

Comments
 (0)