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
The types for `Nul`, `Bol` and `Num` are completely fixed. For `String`, `Array` and `Object`, the memory allocator can be customized through template parameter `AllocatorType`.
53
+
The types for `Nul`, `Bol` and `Num` are completely fixed. For `Str`, `Array` and `Object`, the memory allocator can be customized through template parameter `AllocatorType`.
54
54
While `Object` can choose between ordered or hash-based implementations, the class templates themselves remain fixed.
55
55
56
56
By default:
57
-
-`String` equals `std::string`
57
+
-`Str` equals `std::string`
58
58
-`Array` equals `std::vector<Json>`
59
-
-`Object` equals `std::map<String, Json>`
59
+
-`Object` equals `std::map<Str, Json>`
60
60
61
61
## Member Variables
62
62
@@ -68,7 +68,7 @@ std::variant<
68
68
Nul,
69
69
Bol,
70
70
Num,
71
-
String,
71
+
Str,
72
72
Array,
73
73
Object
74
74
> m_data { Nul{} };
@@ -88,13 +88,13 @@ std::variant<
88
88
- [is_nul](is_nul.md): Check if current JSON is `Nul`
89
89
- [is_bol](is_bol.md): Check if current JSON is `Bol`
90
90
- [is_num](is_num.md): Check if current JSON is `Num`
91
-
- [is_str](is_str.md): Check if current JSON is `String`
91
+
- [is_str](is_str.md): Check if current JSON is `Str`
92
92
- [is_arr](is_arr.md): Check if current JSON is `Array`
93
93
- [is_obj](is_obj.md): Check if current JSON is `Object`
94
94
- [nul](get_nul.md): Get reference to internal `Nul` data
95
95
- [bol](get_bol.md): Get reference to internal `Bol` data
96
96
- [num](get_num.md): Get reference to internal `Num` data
97
-
- [str](get_str.md): Get reference to internal `String` data
97
+
- [str](get_str.md): Get reference to internal `Str` data
98
98
- [arr](get_arr.md): Get reference to internal `Array` data
99
99
- [obj](get_obj.md): Get reference to internal `Object` data
0 commit comments