[System.Text.Json] ReferenceHandler: how to use custom reference identifiers instead of $ref, $id and $values #111800
-
I already have an existing serialization format that I can't change. The goal is to navigate the entire graph forward and backward using the CLR references that are identified by the already existing identifiers instead of $ref, $id and $values How can I use the existing identifiers properties to deserialize and serialize the graph? Thanks |
Beta Was this translation helpful? Give feedback.
Answered by
eiriktsarpalis
Feb 6, 2025
Replies: 1 comment 2 replies
-
@eiriktsarpalis Do you have any suggestions here? Thanks! |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Customizing reference preservation identifiers is not supported today, they are all hardcoded in the implementation.