ESP-IDF
json_token::state
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
json_token::state
json_token::state field
Syntax
Show:
Summary
Declaration
from
json.h:22
enum
json_parsing_state
{
JSON_EMPTY
,
JSON_STARTED
,
JSON_WAITING_VALUE
,
JSON_COMPLETED
,
}
state
;
Examples
References
from
examples
Code
Location
Referrer
}
state
;
json.h:27
if
(
token
->
state
!=
JSON_COMPLETED
)
{
json.c:198
json_check_tree_state()
}
else
if
(
curr_token
->
state
==
JSON_WAITING_VALUE
)
{
json.c:242
json_parse()
curr_token
->
parent
->
state
==
JSON_STARTED
&&
json.c:246
json_parse()
curr_token
->
state
==
JSON_EMPTY
)
{
json.c:247
json_parse()
token
->
state
=
JSON_STARTED
;
json.c:261
json_parse()
curr_token
->
state
=
JSON_EMPTY
;
json.c:267
json_parse()
curr_token
->
parent
->
state
!=
JSON_STARTED
)
{
json.c:272
json_parse()
if
(
curr_token
->
child
->
state
==
JSON_EMPTY
&&
json.c:287
json_parse()
curr_token
->
state
=
JSON_COMPLETED
;
json.c:295
json_parse()
token
->
state
=
JSON_COMPLETED
;
json.c:309
json_parse()
curr_token
->
parent
->
state
==
JSON_STARTED
&&
json.c:312
json_parse()
curr_token
->
state
==
JSON_EMPTY
)
{
json.c:313
json_parse()
curr_token
->
state
=
JSON_COMPLETED
;
json.c:315
json_parse()
}
else
if
(
curr_token
->
state
==
JSON_EMPTY
)
{
json.c:320
json_parse()
curr_token
->
state
=
JSON_STARTED
;
json.c:323
json_parse()
}
else
if
(
curr_token
->
state
==
JSON_WAITING_VALUE
)
{
json.c:324
json_parse()
curr_token
->
state
=
JSON_COMPLETED
;
json.c:326
json_parse()
if
(
!
curr_token
||
curr_token
->
state
!=
JSON_STARTED
)
json.c:346
json_parse()
curr_token
->
state
=
JSON_WAITING_VALUE
;
json.c:348
json_parse()
curr_token
->
state
=
JSON_EMPTY
;
json.c:358
json_parse()
}
else
if
(
curr_token
->
state
==
JSON_WAITING_VALUE
)
{
json.c:378
json_parse()
curr_token
->
parent
->
state
==
JSON_STARTED
&&
json.c:384
json_parse()
curr_token
->
state
==
JSON_EMPTY
)
{
json.c:385
json_parse()
curr_token
->
state
=
JSON_COMPLETED
;
json.c:409
json_parse()
token
->
state
=
JSON_COMPLETED
;
json.c:431
json_parse()
}
else
if
(
curr_token
->
state
==
JSON_WAITING_VALUE
)
{
json.c:432
json_parse()
curr_token
->
state
=
JSON_COMPLETED
;
json.c:434
json_parse()
curr_token
->
parent
->
state
==
JSON_STARTED
&&
json.c:442
json_parse()
curr_token
->
state
==
JSON_EMPTY
)
{
json.c:443
json_parse()
curr_token
->
state
=
JSON_COMPLETED
;
json.c:445
json_parse()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
json_token::state
is written by 1 function and is read by 2 functions:
json_parse()
All items filtered out
json_token::state
json_check_tree_state()
json_parse()
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out