Skip to content

Multi-dimensional array serialization drops shape and eltype information #43

@lassepe

Description

@lassepe

When serializing a multi-dimensional array, the shape and eltype information is lost. For example

import MsgPack
matrix_a = rand(10, 10)
bytes = MsgPack.pack(matrix_a)
matrix_b = MsgPack.unpack(bytes)

results in:

julia> size(matrix_b)
(100,)
julia> eltype(matrix_b)
Any

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions