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
although I really do think there should be a discussion about the safety of the parsing code, why is parse fallible, and why we parse the array, without having the values of the array in the first place
Originally posted by @NightMare-Vortex in #54 (comment)
The text was updated successfully, but these errors were encountered:
the tape is (assuming no bugs) guaranteed to be valid JSON, all validation from formating (numbers, strings etc) and structure (correct k/v of objects, correct nesting etc) are checked in the second stage of parsing
for derives we need fallibility as we can have a valid json that does not match the expected structure that the derive demands
for DOM like structures (owned::Value, borrowed::Value that cover the entire JSON value space) we can expect all translation from tape -> dom to be correct
for DOM like structures that may not cover the entire value space, there is a chance of failures
Originally posted by @NightMare-Vortex in #54 (comment)
The text was updated successfully, but these errors were encountered: