Objectively
Ultra-lightweight object oriented framework for GNU C.
Loading...
Searching...
No Matches
JSONArrayProperties Struct Reference

#include <JSONSerializers.h>

Overview

Describes the JSON binding for an inline array field of a C struct.

Definition at line 404 of file JSONSerializers.h.

Properties

size_t capacity
 The capacity of the array field (maximum number of elements).
 
ptrdiff_t count
 Byte offset of the sibling element-count field, or JSONArrayProperties_NoCount.
 
const JSONPropertiesproperties
 The JSONProperties of the array element type.
 

Property Details

◆ capacity

size_t JSONArrayProperties::capacity

The capacity of the array field (maximum number of elements).

Definition at line 414 of file JSONSerializers.h.

◆ count

ptrdiff_t JSONArrayProperties::count

Byte offset of the sibling element-count field, or JSONArrayProperties_NoCount.

When set, the deserializer writes the parsed element count here.

Definition at line 420 of file JSONSerializers.h.

◆ properties

const JSONProperties* JSONArrayProperties::properties

The JSONProperties of the array element type.

Definition at line 409 of file JSONSerializers.h.


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