TXDataServer: Add OnPreviewJSON event

it would be very useful for debugging to have a JSON Preview before XData tries to parse it into Entities.

For performance reason, XData deserializes objects using a SAX approach, which is read the received request body while deserializing at the same time. Adding a generic OnPreviewJSON will slow down everything.

What you can do is simply create a middleware yourself that reads the request content and saves it somewhere.

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.