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 principle we should be able to generate the struct from general key-value data type that defines the iterate method and the element type eltype gives Pair{String, X} or Pair{Symbol, X}, this applies to the return type of JSON3.read
The text was updated successfully, but these errors were encountered:
I'm actually more thinking about something closer to rust's serde now - the key value is not directly exposed to the user but instead, a Serializer and Deserializer object are exposed.
Configurations at the beginning were not designed for performance, and Symbol is not a general string, thus only String is supported. AFAIK Symbol is only faster when it encounters comparison tho, so I'm not sure if there are more specific cases where Symbol is better. My understanding is one should use specific tokens for the key since usually they can be enumerated.
in principle we should be able to generate the struct from general key-value data type that defines the
iterate
method and the element typeeltype
givesPair{String, X}
orPair{Symbol, X}
, this applies to the return type ofJSON3.read
The text was updated successfully, but these errors were encountered: