You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ Once you have a JsonPointer, you can directly access a JsonPointer anywhere in t
42
42
//message is the first error String, "Enter a valid email address"
43
43
```
44
44
45
-
###Safe value retreival
45
+
###Safe value retreival
46
46
The `at()` function always returns a valid JsonElement, even when there is no match. You can use the standard `isJsonPrimitive` or other similar methods to determine what you got back. You can more easily use the provided convenience get properties to get either the actual value at the node or a default value that you can check and flow against.
47
47
48
48
*`JsonElement.safeNumber` returns any `Number` found at the pointer, or a `0`
0 commit comments