mirror of
https://github.com/denoland/rusty_v8.git
synced 2024-11-24 15:19:31 -05:00
fix(json): relax lifetime for json_object (#778)
Amongst other things this will enable serde_v8 to print JSON object dumps
This commit is contained in:
parent
70b42b2cac
commit
8094d5d971
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ pub fn parse<'s>(
|
|||
/// it as string if successful.
|
||||
pub fn stringify<'s>(
|
||||
scope: &mut HandleScope<'s>,
|
||||
json_object: Local<'s, Value>,
|
||||
json_object: Local<'_, Value>,
|
||||
) -> Option<Local<'s, String>> {
|
||||
unsafe {
|
||||
scope.cast_local(|sd| {
|
||||
|
|
Loading…
Reference in a new issue