vapor-chamber API reference - v1.16.0
Repo
Performance
Roadmap
Laravel integration
Preparing search index...
stream-parser
StreamParserCallbacks
Type Alias StreamParserCallbacks
type
StreamParserCallbacks
=
{
onValue
?:
(
key
:
string
,
value
:
unknown
,
path
:
StreamParserPath
)
=>
void
;
onObjectStart
?:
(
path
:
StreamParserPath
)
=>
void
;
onObjectEnd
?:
(
path
:
StreamParserPath
)
=>
void
;
onArrayStart
?:
(
path
:
StreamParserPath
)
=>
void
;
onArrayEnd
?:
(
path
:
StreamParserPath
)
=>
void
;
onError
?:
(
error
:
StreamParserError
)
=>
void
;
onEnd
?:
()
=>
void
;
}
Index
Properties
on
Value?
on
Object
Start?
on
Object
End?
on
Array
Start?
on
Array
End?
on
Error?
on
End?
Properties
Optional
on
Value
onValue
?:
(
key
:
string
,
value
:
unknown
,
path
:
StreamParserPath
)
=>
void
Emitted for each complete value (object/array members and top-level scalars).
Optional
on
Object
Start
onObjectStart
?:
(
path
:
StreamParserPath
)
=>
void
Optional
on
Object
End
onObjectEnd
?:
(
path
:
StreamParserPath
)
=>
void
Optional
on
Array
Start
onArrayStart
?:
(
path
:
StreamParserPath
)
=>
void
Optional
on
Array
End
onArrayEnd
?:
(
path
:
StreamParserPath
)
=>
void
Optional
on
Error
onError
?:
(
error
:
StreamParserError
)
=>
void
Optional
on
End
onEnd
?:
()
=>
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
on
Value
on
Object
Start
on
Object
End
on
Array
Start
on
Array
End
on
Error
on
End
Repo
Performance
Roadmap
Laravel integration
vapor-chamber API reference - v1.16.0
Loading...
Emitted for each complete value (object/array members and top-level scalars).