Page MenuHomeDevCentral

Implement ApiJsonResponse for Serialize and Json
ClosedPublic

Authored by dereckson on Oct 9 2018, 21:11.
Tags
None
Referenced Files
F34592694: D1869.id.diff
Thu, Jul 2, 06:45
F34584159: D1869.diff
Thu, Jul 2, 06:01
F34577696: D1869.diff
Thu, Jul 2, 05:10
F34543841: D1869.diff
Wed, Jul 1, 22:43
Unknown Object (File)
Wed, Jul 1, 03:51
Unknown Object (File)
Fri, Jun 26, 16:32
Unknown Object (File)
Fri, Jun 26, 08:56
Unknown Object (File)
Sun, Jun 21, 17:39
Subscribers
None

Details

Summary

Generate a JSON output from an object ready to be serialized to JSON
is trivial. But to be coherent with the more complex objects, we can
offer into_json_response() through a ApiJsonResponse implementation.

The same applies for the Json itself.

Test Plan

ApiJsonResponse for a Serialize is used by D1868.

Diff Detail

Repository
rLF Limiting Factor
Lint
Lint Not Applicable
Unit
Tests Not Applicable