Skip to content

Commit 1948b09

Browse files
committed
Update and rename readme.md to README.md
1 parent 4e28101 commit 1948b09

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

readme.md renamed to README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,13 @@ Json("c")("e") = 789
2323
Debug.Print JsonConverter.ConvertToJson(Json)
2424
' -> "{""a"":123,""b"":[1,2,3,4],""c"":{""d"":456,""e"":789}}"
2525
```
26+
27+
## Options
28+
29+
VBA-JSON includes a few options for customizing parsing/conversion if needed:
30+
31+
- __UseDoubleForLargeNumbers__ (Default = `False`) VBA only stores 15 significant digits, so any numbers larger than that are truncated.
32+
This can lead to issues when BIGINT's are used (e.g. for Ids or Credit Cards), as they will be invalid above 15 digits.
33+
By default, VBA-JSON will use `String` for numbers longer than 15 characters that contain only digits, use this option to use `Double` instead.
34+
- __AllowUnquotedKeys__ (Default = `False`) The JSON standard requires object keys to be quoted (`"` or `'`), use this option to allow unquoted keys.
35+
- __EscapeSolidus__ (Default = `False`) The solidus (/) is not required to be escaped, use this option to escape them as `\/` in `ConvertToJson`.

0 commit comments

Comments
 (0)