mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
Fix json.marshal for Matrix
This commit is contained in:
@@ -160,6 +160,9 @@ marshal_to_writer :: proc(w: io.Writer, v: any) -> (err: Marshal_Error) {
|
|||||||
|
|
||||||
case runtime.Type_Info_Relative_Slice:
|
case runtime.Type_Info_Relative_Slice:
|
||||||
return .Unsupported_Type
|
return .Unsupported_Type
|
||||||
|
|
||||||
|
case runtime.Type_Info_Matrix:
|
||||||
|
return .Unsupported_Type
|
||||||
|
|
||||||
case runtime.Type_Info_Array:
|
case runtime.Type_Info_Array:
|
||||||
io.write_byte(w, '[') or_return
|
io.write_byte(w, '[') or_return
|
||||||
|
|||||||
Reference in New Issue
Block a user