Serialization formats #71
Answered
by
TonyXiang8787
jaapschoutenalliander
asked this question in
Q&A
|
For PGM-DS we are looking into serialisation of Grid objects. PGM supports json & msgpack on which we could be build. However, we are also still considering parquet or numpy-binary. What were your considerations for supporting json and msgpack? |
Answered by
TonyXiang8787
Oct 14, 2025
Replies: 2 comments 1 reply
|
As far as I know, We use |
1 reply
Answer selected by
mgovers
|
Things to consider for me:
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @jaapschoutenalliander,
numpy-binaryispython/numpyspecific, PGM core is in general language acoustic (with universal C-API).As far as I know,
parquetcannot store multiple tables with different length and width inside one file. Also it misses the function to store sparse batch dataset, metadata, etc.We use
jsonandmsgpackbecause they are both well-known serialization format. We define our data model on top of the serialization.