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
What is the simplest way to encode an array of structs as JSON String?
I care more about simplicity than performance for the equivalent of the following (I don't care about exact errors or necessarily returning nil if something goes wrong):
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
What is the simplest way to encode an array of structs as JSON
String
?I care more about simplicity than performance for the equivalent of the following (I don't care about exact errors or necessarily returning
nil
if something goes wrong):Beta Was this translation helpful? Give feedback.
All reactions