mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Serialize
This commit is contained in:
parent
03e1b28c97
commit
3cc6f53374
@ -406,8 +406,8 @@ function UTILS._OneLineSerialize(tbl)
|
|||||||
elseif type(val) == 'nil' then -- won't ever happen, right?
|
elseif type(val) == 'nil' then -- won't ever happen, right?
|
||||||
tbl_str[#tbl_str + 1] = 'nil, '
|
tbl_str[#tbl_str + 1] = 'nil, '
|
||||||
elseif type(val) == 'table' then
|
elseif type(val) == 'table' then
|
||||||
tbl_str[#tbl_str + 1] = UTILS._OneLineSerialize(val)
|
--tbl_str[#tbl_str + 1] = UTILS.TableShow(tbl,loc,indent,tableshow_tbls)
|
||||||
tbl_str[#tbl_str + 1] = ', ' --I think this is right, I just added it
|
--tbl_str[#tbl_str + 1] = ', ' --I think this is right, I just added it
|
||||||
else
|
else
|
||||||
--log:warn('Unable to serialize value type $1 at index $2', mist.utils.basicSerialize(type(val)), tostring(ind))
|
--log:warn('Unable to serialize value type $1 at index $2', mist.utils.basicSerialize(type(val)), tostring(ind))
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user