Open lichie567 opened 1 month ago
Which datatype do you think would make more sense?
Just to add a bit more context, OverlayPlugin uses heavily Newtonsoft and I try very hard to maintain source compatibility with them as much as possible... So in any case the data that is generated will be a newtonsoft JObject and passing that around is the most efficient approach (this works doubly well since Dalamud provides the newtonsoft reference and I heard there are basically no plans to move from it away in the near future). But am open to changing the API surface here if it is too inconvenient, since LMeter is the only consumer here I know of anyways.
Currently the json being exposed to other plugins via IPC is exposed as a JObject type from the newtonsoft library, which blocks (or significantly hinders) use of any other json parsing library in plugins consuming the data.