Replies: 1 comment
-
Hoping not to do this but this seems to work for me:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm attempting to build a lenient parser/deserializer that can parse from json / yaml into an ir, which can self heal & have more dynamic default values and business rules. I'm finding that the best way to deserialize off the ir is to detect end events and build partials depth first. But there can be some backtracking, so I would like to leave the Partial active, for additional mutation, but obtain a heap_value. Something that effectively does a partial.clone().build() i.e. non-consuming heap_value builder. I was wondering if this would be possible.
Beta Was this translation helpful? Give feedback.
All reactions