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: doc/ref/corelib/ojson.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
@@ -4,7 +4,7 @@
4
4
#include<jsoncons/json.hpp>
5
5
6
6
typedef basic_json<char,
7
-
Policy = order_preserving_policy,
7
+
Policy = ordered_policy,
8
8
Allocator = std::allocator<char>> ojson
9
9
```
10
10
The `ojson` class is an instantiation of the [basic_json](basic_json.md) class template that uses `char` as the character type. The original insertion order of an object's name/value pairs is preserved.
Copy file name to clipboardExpand all lines: doc/ref/corelib/wojson.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
@@ -4,7 +4,7 @@
4
4
#include<jsoncons/json.hpp>
5
5
6
6
typedef basic_json<wchar_t,
7
-
Policy = order_preserving_policy,
7
+
Policy = ordered_policy,
8
8
Allocator = std::allocator<wchar_t>> wojson
9
9
```
10
10
The `wojson` class is an instantiation of the [basic_json](basic_json.md) class template that uses `wchar_t` as the character type. The original insertion order of an object's name/value pairs is preserved.
0 commit comments