json-gen-c  0.1.5
json-gen-c generate C code for json manipulation
json_context Struct Reference

Thread-safe JSON parsing context This structure replaces global variables to ensure thread safety. More...

#include <json_context.h>

Collaboration diagram for json_context:

Public Attributes

struct json_field_offset_itemfield_offset_items
 
int * entry_hash
 
int entry_hash_size
 
int item_count
 
pthread_mutex_t mutex
 

Detailed Description

Thread-safe JSON parsing context This structure replaces global variables to ensure thread safety.

Member Data Documentation

◆ entry_hash

int* json_context::entry_hash

Hash table for field lookups

◆ entry_hash_size

int json_context::entry_hash_size

Size of hash table

◆ field_offset_items

struct json_field_offset_item* json_context::field_offset_items

Field offset items array

◆ item_count

int json_context::item_count

Number of field offset items

◆ mutex

pthread_mutex_t json_context::mutex

Mutex for thread safety


The documentation for this struct was generated from the following file: