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
Is there an elegant way to inspect a given JSON object and return its type, i.e. whether it is a measurement, a patchset, or something else? I have a list of files that need sorting into the different categories. I am currently using code along the following lines:
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
-
Is there an elegant way to inspect a given JSON object and return its type, i.e. whether it is a measurement, a patchset, or something else? I have a list of files that need sorting into the different categories. I am currently using code along the following lines:
but it would be great if there was an easier way to get this information.
Beta Was this translation helpful? Give feedback.
All reactions