I'm trying to decide on a standard for json responses for my applications going forwards.
So I'm thinking something along the lines of
Fake Json { Message:"hello, this is a reponse", action: 0 or 1, or "Good" or "bad", statusCode: 234, }
I'm wondering if there is a good standard for this already, and also how I can keep my standards in sync between my front and back end?
Is there a clever way to do this?