MicahWW / Money-Tracking-Functions

The backend to a service to help track how one's money is being spent
0 stars 0 forks source link

JSON parse error detection #25

Open MicahWW opened 4 months ago

MicahWW commented 4 months ago

When uploading data to /api/location-names as JSON data it uses JsonSerializer, when a required parameter is not present it will error. Error handling should be implemented and then standardized to make it easy to catch such errors for any future endpoints that will take JSON data.