mirror of
https://github.com/matrix-construct/construct
synced 2024-09-29 12:18:54 +02:00
ircd::json: Value stringify semantic fixes.
This commit is contained in:
parent
ff94fdd3a6
commit
2a7d7fa8c8
1 changed files with 3 additions and 3 deletions
|
@ -1431,8 +1431,8 @@ const
|
|||
|
||||
case ARRAY:
|
||||
return serial? !len || string_view{*this} == empty_array:
|
||||
array? false:
|
||||
true; //TODO: XXX arr
|
||||
array? !len:
|
||||
true;
|
||||
|
||||
case LITERAL:
|
||||
return serial? !len:
|
||||
|
@ -1462,7 +1462,7 @@ const
|
|||
|
||||
case ARRAY:
|
||||
return serial? string == nullptr:
|
||||
array? array == nullptr:
|
||||
array? false:
|
||||
true;
|
||||
|
||||
case LITERAL:
|
||||
|
|
Loading…
Reference in a new issue