rcbench
Servo and ESC test bench: panel, IOmcu and shared C
Loading...
Searching...
No Matches
tok_t Struct Reference

One JSON token, with its byte range and its links. More...

#include <esc_json_int.h>

Data Fields

ttype_t type
uint32_t start
uint32_t end
uint32_t size
uint32_t next

Detailed Description

One JSON token, with its byte range and its links.

Field Documentation

◆ end

uint32_t tok_t::end

one past the last byte; before the quote

◆ next

uint32_t tok_t::next

the token after this value and its descendants

◆ size

uint32_t tok_t::size

members of an object, elements of an array

◆ start

uint32_t tok_t::start

first byte; for a string, after the quote

◆ type

ttype_t tok_t::type

what the token is


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