File: result_options.md

package info (click to toggle)
jsoncons 1.3.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 17,584 kB
  • sloc: cpp: 136,382; sh: 33; makefile: 5
file content (29 lines) | stat: -rw-r--r-- 604 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
### jsoncons::jsonpath::result_options

```cpp
enum class result_options {
   value = 1,
   path = 2,
   no_dups = 4 | path,
   sort = 8 | path
};                            (until 0.164.0)

enum class result_options {
    value=0, 
    nodups=1, 
    sort=2, 
    path=4
};                            (since 0.164.0)

enum class result_options {
    value=0, 
    nodups=1, 
    sort=2, 
    sort_descending=4, 
    path=8
};                            (since 0.172.0)
```

A [BitmaskType](https://en.cppreference.com/w/cpp/named_req/BitmaskType) 
used to specify result options for JSONPath queries.