app.serializers.auth.AuthUserLoginSerializer.jsonify

AuthUserLoginSerializer.jsonify(obj, many=<object object>, *args, **kwargs)

Return a JSON response containing the serialized data.

Parameters
  • obj – Object to serialize.

  • many (bool) – Whether obj should be serialized as an instance or as a collection. If unset, defaults to the value of the many attribute on this Schema.

  • kwargs – Additional keyword arguments passed to flask.jsonify.

Changed in version 0.6.0: Takes the same arguments as marshmallow.Schema.dump. Additional keyword arguments are passed to flask.jsonify.

Changed in version 0.6.3: The many argument for this method defaults to the value of the many attribute on the Schema. Previously, the many argument of this method defaulted to False, regardless of the value of Schema.many.