JsonHelper Methods

Template MVC

JsonHelper Methods

Methods
  NameDescription
Public methodStatic memberFail
Returns a Fail response (isSuccess = false)
Public methodStatic memberFail(String)
Returns a fail response with the given text (isSuccess = false, responseText = responseText)
Public methodStatic memberFail(String, Object)
Returns a fail Response with the given text and serialize object (isSuccess = false, responseText = responseText, date = data)
Public methodStatic memberSuccess
Returns a Success response (isSuccess = true)
Public methodStatic memberSuccess(String)
Returns a Success response with the given text (isSuccess = true, responseText = responseText)
Public methodStatic memberSuccess(String, Object)
Returns a Success Response with the given text and serialize object
Top
See Also