\r\n

51Degrees Device Detection C/C++  4.5

A device detection library that is used natively or by 51Degrees products

fiftyoneDegreesJson Struct Reference

Detailed Description

Structure used to populated a JSON string for all required properties and values.

The implementation will always check to determine if sufficient characters remain in the buffer before adding characters. The charsAdded field is always updated to reflect the number of characters that would be needed in the buffer if all the values were to be written. This is needed to determine when the buffer provided needs to be larger.

Collaboration diagram for fiftyoneDegreesJson:

[legend]

Data Fields

fiftyoneDegreesStringBuilder  builder
Output buffer.
fiftyoneDegreesCollection *  strings
Collection of strings.
fiftyoneDegreesProperty *  property
The property being added.
fiftyoneDegreesList *  values
The values for the property.
fiftyoneDegreesException *  exception
Exception.
fiftyoneDegreesPropertyValueType  storedPropertyType
Stored type of the values for the property.

The documentation for this struct was generated from the following file:
  • /home/runner/work/device-detection-cxx/device-detection-cxx/common/device-detection-cxx/src/common-cxx/json.h
On This Page