Fix json.marshal for Matrix

This commit is contained in:
gingerBill
2021-10-20 15:02:55 +01:00
parent e8c602b98f
commit cdf881a378

View File

@@ -160,6 +160,9 @@ marshal_to_writer :: proc(w: io.Writer, v: any) -> (err: Marshal_Error) {
case runtime.Type_Info_Relative_Slice:
return .Unsupported_Type
case runtime.Type_Info_Matrix:
return .Unsupported_Type
case runtime.Type_Info_Array:
io.write_byte(w, '[') or_return