File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -657,11 +657,11 @@ macro_rules! json_internal_owned {
657657 } ;
658658
659659 ( [ ] ) => {
660- $crate:: value:: owned:: Value :: Array ( json_internal_vec![ ] )
660+ $crate:: value:: owned:: Value :: Array ( Box :: new ( json_internal_vec![ ] ) )
661661 } ;
662662
663663 ( [ $( $tt: tt) + ] ) => {
664- $crate:: value:: owned:: Value :: Array ( json_internal_owned!( @array [ ] $( $tt) +) )
664+ $crate:: value:: owned:: Value :: Array ( Box :: new ( json_internal_owned!( @array [ ] $( $tt) +) ) )
665665 } ;
666666
667667 ( { } ) => {
@@ -1144,11 +1144,11 @@ macro_rules! json_internal_borrowed {
11441144 } ;
11451145
11461146 ( [ ] ) => {
1147- $crate:: value:: borrowed:: Value :: Array ( json_internal_vec![ ] )
1147+ $crate:: value:: borrowed:: Value :: Array ( Box :: new ( json_internal_vec![ ] ) )
11481148 } ;
11491149
11501150 ( [ $( $tt: tt) + ] ) => {
1151- $crate:: value:: borrowed:: Value :: Array ( json_internal_borrowed!( @array [ ] $( $tt) +) )
1151+ $crate:: value:: borrowed:: Value :: Array ( Box :: new ( json_internal_borrowed!( @array [ ] $( $tt) +) ) )
11521152 } ;
11531153
11541154 ( { } ) => {
You can’t perform that action at this time.
0 commit comments