JSON Serialization #351
Replies: 2 comments 3 replies
-
We've been thinking about this for a while, but haven't worked on a standard API yet. It would be nice to define a standard format that multiple packages could use, and ideally would be supported by Boost.Histogram as well as boost-histogram (possibly as an optional component). We could even document it in UHI, for example. I can work on this after December 8 or so. CC @HDembinski and @jpivarski, thoughts? Can we start working on a draft? |
Beta Was this translation helpful? Give feedback.
-
Hi All, we are also interested in this feature. The idea is to create histograms and save to JSon to work with them on JS frontend. We could do this easily as a custom format but... We use it for EIC physics group analysis done by multiple physicists and students and having a standard functions and format specification would be much (MUCH) better than hanging our homebrew serializer around. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
We would like to be able to transfer
hist
objects using an API (use case: LHCb Analysis Productions), which will require conversion to JSON and back. If I understand correctly, there isn't yet a standardised way of doing this forhist
histograms. If not, is this something that could be added?Beta Was this translation helpful? Give feedback.
All reactions