[jackson-annotations] 70/207: Fixed a minor spelling mistake with a method name in the README file.
Timo Aaltonen
tjaalton at moszumanska.debian.org
Sat Sep 6 13:55:40 UTC 2014
This is an automated email from the git hooks/post-receive script.
tjaalton pushed a commit to branch master
in repository jackson-annotations.
commit 8507cf18661222b53f1f53cb1ecf57b455124614
Author: Hassaan Aamir <hassaan at hotmail.ca>
Date: Wed Jun 6 00:42:59 2012 -0300
Fixed a minor spelling mistake with a method name in the README file.
---
README.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index eb7e2e6..effaaa4 100644
--- a/README.md
+++ b/README.md
@@ -186,14 +186,14 @@ The default Jackson property detection rules will find:
But if this does not work, you can change visibility levels by using annotation `@JsonAutoDetect`.
If you wanted, for example, to auto-detect ALL fields (similar to how packages like GSON work), you could do:
- @JsonAutoDetect(fieldVisiblity=JsonAutoDetect.Visibility.ANY)
+ @JsonAutoDetect(fieldVisibility=JsonAutoDetect.Visibility.ANY)
public class POJOWithFields {
private int value;
}
or, to disable auto-detection of fields altogether:
- @JsonAutoDetect(fieldVisiblity=JsonAutoDetect.Visibility.NONE)
+ @JsonAutoDetect(fieldVisibility=JsonAutoDetect.Visibility.NONE)
public class POJOWithNoFields {
// will NOT be included, unless there is access 'getValue()'
public int value;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jackson-annotations.git
More information about the pkg-java-commits
mailing list