jsend icon indicating copy to clipboard operation
jsend copied to clipboard

JSend is a specification for a simple, no-frills, JSON based format for application-level communication.

Results 8 jsend issues
Sort by recently updated
recently updated
newest added

For example, I have this fail response, but the frontend is a multilanguage app. ``` { "status" : "fail", "data" : { "username" : "Username already exists" } } ```...

Fix JSON Grammar mistakes

failure is more suitable here, because just like 'success', 'failure' is a noun unlike 'fail' which is a verb.

We usually send "fail" status if validation errors exist with request data. Sometimes, the failed message may not be included with any key of request payload(for example: when the input...

We are finding it difficult to agree on the correct jsend status for an HTTP 404 response. Could the spec clarify this somewhat special case? Two schools of thought here....

I think that `message` attribute could also be a part of `fail` just as it is with `error`. As you describe it, FAIL is: > There was a problem with...

Thankyou for this helpful spec. I would like to request an addition to the spec - an optional key "log" which would be a list of log data generated during...

I love this, and will use it 'til retirement. I would like to propose a little mod to play better with typing. I would like to replace data with sData...