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
Hi,
I have a JSON document that has as a property a list of objects which is quite long and costly to parse.
I only need one element of this list and I think it would speed things up if msgspec had a way to just stop parsing the list, when a specific object is found.
Is there any callback/hook in msgspec where I can implement such a behaviour? I think it is similar to Contstaints but with the stopping aspect when the constraint is matched.
Best regards,
Christian
The text was updated successfully, but these errors were encountered:
Question
Hi,
I have a JSON document that has as a property a list of objects which is quite long and costly to parse.
I only need one element of this list and I think it would speed things up if msgspec had a way to just stop parsing the list, when a specific object is found.
Is there any callback/hook in msgspec where I can implement such a behaviour? I think it is similar to Contstaints but with the stopping aspect when the constraint is matched.
Best regards,
Christian
The text was updated successfully, but these errors were encountered: