You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To use toml4j with Configurate, it would be helpful to provide a way to bypass the creation of the toml4j data structures, instead providing callback methods (like various XML parsers) or an iterator-style system (think jackson-core, or Gson's JsonReader) for reading and the equivalent for writing (again, like jackson or Gson's JsonWriter). This becomes more efficient for larger configurations and reduces the footprint for potential issues dealing with converting between different types of objects.
The text was updated successfully, but these errors were encountered:
This is definitely a good idea. I probably won't have time to include this in 1.0 (depending on when the spec goes 1.0), but it will be added.
Which callback-based XML parsers do you have in mind? The only one I can think of right now is SafeSax. I'll have a look at them, Jackson and Gson for inspiration.
I'd been thinking of the sax-style API, yeah -- I think there is some implementation provided with the jdk that is what I have used for stuff in the past.
To use toml4j with Configurate, it would be helpful to provide a way to bypass the creation of the toml4j data structures, instead providing callback methods (like various XML parsers) or an iterator-style system (think jackson-core, or Gson's JsonReader) for reading and the equivalent for writing (again, like jackson or Gson's JsonWriter). This becomes more efficient for larger configurations and reduces the footprint for potential issues dealing with converting between different types of objects.
The text was updated successfully, but these errors were encountered: