Tag Archives: WebService

Exception Receiving

When you make a web service call, you want to report the problem to the user save as you do for any other part of the program, and that is through an exception object.  This post talks about converting the JSON received back into an exception object so that it can be reported properly.  This is the fourth post in a series about translatable errors for REST web services. Read the rest of this entry »

1 Comment

Posted by on January 8, 2019 in Coding, Design


Tags: , , ,

JSON Translatable Error Messages

Second in a series on translatable exceptions, this discusses how an error message should be returned as JSON from a web-service API so that it the calling program can display the error in the right language for the user. Read the rest of this entry »


Posted by on January 6, 2019 in Coding, Design, Uncategorized


Tags: , , ,

JSON/REST API – Handling Dates

In this post, I lay out the reason that you should always transfer dates in a JSON/REST API as an integer epoch value: the number of milliseconds since Jan 1, 1970. If you think it should be anything else, please read on….
Read the rest of this entry »

Leave a comment

Posted by on June 10, 2015 in Coding, Design


Tags: , , , , , ,