mirror of
https://github.com/cerbero90/json-parser.git
synced 2025-07-04 14:05:40 +02:00
Add state to expect object keys
This commit is contained in:
@ -29,6 +29,13 @@ class State
|
|||||||
*/
|
*/
|
||||||
public string $buffer = '';
|
public string $buffer = '';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Whether the token should be an object key.
|
||||||
|
*
|
||||||
|
* @var bool
|
||||||
|
*/
|
||||||
|
public bool $expectsKey = false;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Instantiate the class.
|
* Instantiate the class.
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user