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
I think "immutable" is more broad, it could also mean immutable objects, people may think JSON.parseImmutable returns deep frozen immutable array/objects. So parsePrimitive may be the more accurate name.
Another reason that I don't like "immutable" in the API name, is it make us impossible to explore the possibility of "mutable" value type (like Swift, Kotlin) in the future.
The text was updated successfully, but these errors were encountered:
I think "immutable" is more broad, it could also mean immutable objects, people may think
JSON.parseImmutable
returns deep frozen immutable array/objects. SoparsePrimitive
may be the more accurate name.Another reason that I don't like "immutable" in the API name, is it make us impossible to explore the possibility of "mutable" value type (like Swift, Kotlin) in the future.
The text was updated successfully, but these errors were encountered: