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
The JSON parser is only suitable for primitive types only. When you try to use res.json(myObj) and myObj has non-primitive attributes then it will throw an error saying it is not JSON serializable.
The only way around this for now is to change the fields to primitives.
The text was updated successfully, but these errors were encountered:
The JSON parser is only suitable for primitive types only. When you try to use
res.json(myObj)
andmyObj
has non-primitive attributes then it will throw an error saying it is not JSON serializable.The only way around this for now is to change the fields to primitives.
The text was updated successfully, but these errors were encountered: