File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -147,15 +147,15 @@ typedef struct JsonValueStats
147
147
int nnumerics ; /* number of JSON numerics */
148
148
} JsonValueStats ;
149
149
150
- /* ??? */
150
+ /* Main structure for analyzed JSON path */
151
151
typedef struct JsonPathAnlStats
152
152
{
153
- JsonPathEntry path ;
154
- JsonValueStats vstats ;
155
- Jsonb * stats ;
156
- char * pathstr ;
157
- double freq ;
158
- int depth ;
153
+ JsonPathEntry path ; /* path entry chain, used for hashing */
154
+ JsonValueStats vstats ; /* collected values and raw computed stats */
155
+ Jsonb * stats ; /* stats converted into jsonb form */
156
+ char * pathstr ; /* full path string */
157
+ double freq ; /* frequence of the path */
158
+ int depth ; /* nesting level, i.e. path length */
159
159
} JsonPathAnlStats ;
160
160
161
161
/* various bits needed while analyzing JSON */
You can’t perform that action at this time.
0 commit comments