mirror of
https://github.com/cerbero90/json-parser.git
synced 2025-01-17 21:18:41 +01:00
Add state to expect object keys
This commit is contained in:
parent
e50c8f023e
commit
46fbfc73fb
@ -29,6 +29,13 @@ class State
|
||||
*/
|
||||
public string $buffer = '';
|
||||
|
||||
/**
|
||||
* Whether the token should be an object key.
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
public bool $expectsKey = false;
|
||||
|
||||
/**
|
||||
* Instantiate the class.
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user