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
In #1Array JSON was turned into JArray. I think this is a useful thing to do and a good assumption that a JArray is not necessarily an Array. However all JArray operation are implemented in terms of toArray. So we've changed the assumption from "It's always an Array" to "In order to observe anything, it must be converted to an Array". This implies that there is a 0-cost conversion to Array, since that would be the only way one could write performant codecs. Should JArray operations be FFI like JObject?
The text was updated successfully, but these errors were encountered:
natefaubion
changed the title
All JArray operations are implemented in terms of toArray
Should JArray operations be FFI like JObject?
Sep 3, 2023
In #1
Array JSON
was turned intoJArray
. I think this is a useful thing to do and a good assumption that aJArray
is not necessarily an Array. However allJArray
operation are implemented in terms oftoArray
. So we've changed the assumption from "It's always an Array" to "In order to observe anything, it must be converted to an Array". This implies that there is a 0-cost conversion toArray
, since that would be the only way one could write performant codecs. Should JArray operations be FFI like JObject?The text was updated successfully, but these errors were encountered: