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
{{ message }}
This repository was archived by the owner on Jan 7, 2021. It is now read-only.
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
@@ -50,7 +50,7 @@ var options = {
50
50
51
51
***object:** Returns a Javascript object instead of a JSON string
52
52
***reversible:** Makes the JSON reversible to XML (*)
53
-
***coerce:** Makes type coercion. i.e.: numbers and booleans present in attributes and element values are converted from string to its correspondent data types.
53
+
***coerce:** Makes type coercion. i.e.: numbers and booleans present in attributes and element values are converted from string to its correspondent data types. Coerce can be optionally defined as an object with specific methods of coercion based on attribute name or tag name, with fallback to default coercion.
54
54
***trim:** Removes leading and trailing whitespaces as well as line terminators in element values.
55
55
***arrayNotation:** XML child nodes are always treated as arrays
56
56
***sanitize:** Sanitizes the following characters present in element values:
0 commit comments