1{
2 "description": "Decimal128",
3 "bson_type": "0x13",
4 "test_key": "d",
5 "parseErrors": [
6 {
7 "description": "Incomplete Exponent",
8 "string": "1e"
9 },
10 {
11 "description": "Exponent at the beginning",
12 "string": "E01"
13 },
14 {
15 "description": "Just a decimal place",
16 "string": "."
17 },
18 {
19 "description": "2 decimal places",
20 "string": "..3"
21 },
22 {
23 "description": "2 decimal places",
24 "string": ".13.3"
25 },
26 {
27 "description": "2 decimal places",
28 "string": "1..3"
29 },
30 {
31 "description": "2 decimal places",
32 "string": "1.3.4"
33 },
34 {
35 "description": "2 decimal places",
36 "string": "1.34."
37 },
38 {
39 "description": "Decimal with no digits",
40 "string": ".e"
41 },
42 {
43 "description": "2 signs",
44 "string": "+-32.4"
45 },
46 {
47 "description": "2 signs",
48 "string": "-+32.4"
49 },
50 {
51 "description": "2 negative signs",
52 "string": "--32.4"
53 },
54 {
55 "description": "2 negative signs",
56 "string": "-32.-4"
57 },
58 {
59 "description": "End in negative sign",
60 "string": "32.0-"
61 },
62 {
63 "description": "2 negative signs",
64 "string": "32.4E--21"
65 },
66 {
67 "description": "2 negative signs",
68 "string": "32.4E-2-1"
69 },
70 {
71 "description": "2 signs",
72 "string": "32.4E+-21"
73 },
74 {
75 "description": "Empty string",
76 "string": ""
77 },
78 {
79 "description": "leading white space positive number",
80 "string": " 1"
81 },
82 {
83 "description": "leading white space negative number",
84 "string": " -1"
85 },
86 {
87 "description": "trailing white space",
88 "string": "1 "
89 },
90 {
91 "description": "Invalid",
92 "string": "E"
93 },
94 {
95 "description": "Invalid",
96 "string": "invalid"
97 },
98 {
99 "description": "Invalid",
100 "string": "i"
101 },
102 {
103 "description": "Invalid",
104 "string": "in"
105 },
106 {
107 "description": "Invalid",
108 "string": "-in"
109 },
110 {
111 "description": "Invalid",
112 "string": "Na"
113 },
114 {
115 "description": "Invalid",
116 "string": "-Na"
117 },
118 {
119 "description": "Invalid",
120 "string": "1.23abc"
121 },
122 {
123 "description": "Invalid",
124 "string": "1.23abcE+02"
125 },
126 {
127 "description": "Invalid",
128 "string": "1.23E+0aabs2"
129 }
130 ]
131}
View as plain text